Changeset 99525 in vbox
- Timestamp:
- Apr 24, 2023 5:34:07 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r99524 r99525 997 997 if [ $? -ne 0 ]; then 998 998 # Was module loaded? 999 [ -n "$mod_is_running" ] || fail "module $mod is not loaded" 1000 # If module was loaded it means that it has incorrect version. 1001 fail "currently loaded module $mod version ($(running_module_version "$mod")) does not match to VirtualBox Guest Additions installation version ($VBOX_VERSION $VBOX_REVISION)" 999 if [ -z "$mod_is_running" ]; then 1000 info "module $mod is not loaded" 1001 else 1002 # If module was loaded it means that it has incorrect version. 1003 info "currently loaded module $mod version ($(running_module_version "$mod")) does not match to VirtualBox Guest Additions installation version ($VBOX_VERSION $VBOX_REVISION)" 1004 fi 1005 1006 # Set "bad" rc. 1007 false 1002 1008 fi 1003 1009 … … 1140 1146 1141 1147 # Reload VBoxClient processes. 1142 [ $? -eq 0 ] && try_load_preserve_rc "send_signal "-USR1" control" "unable to reload user session services" 1148 [ $? -eq 0 ] && try_load_preserve_rc "send_signal -USR1 control" "unable to reload user session services" 1149 1150 # Check if we just loaded modules of correct version. 1151 [ $? -eq 0 ] && try_load_preserve_rc "check_status_kernel" "kernel modules were not reloaded" 1152 1153 # Check if user-land processes were restarted as well. 1154 [ $? -eq 0 ] && try_load_preserve_rc "check_status_user" "user-land services were not started" 1143 1155 1144 1156 if [ $? -eq 0 ]; then 1145 1146 # Check if we just loaded modules of correct version.1147 check_status_kernel1148 1149 # Check if user-land processes were restarted as well.1150 check_status_user1151 1152 1157 # Take reported version of running Guest Additions from running vboxguest module (as a paranoia check). 1153 1158 info "kernel modules and services $(running_module_version "vboxguest") reloaded" … … 1232 1237 status-kernel) 1233 1238 check_root 1234 check_status_kernel && info "Kernel modules are loaded" 1239 check_status_kernel 1240 if [ $? -eq 0 ]; then 1241 info "kernel modules are loaded" 1242 else 1243 info "kernel modules were not loaded" 1244 false 1245 fi 1235 1246 ;; 1236 1247 status-user) … … 1238 1249 check_status_user 1239 1250 if [ $? -eq 0 ]; then 1240 info " User-land services are running"1251 info "user-land services are running" 1241 1252 else 1242 info " User-land services are not running"1253 info "user-land services are not running" 1243 1254 false 1244 1255 fi
Note:
See TracChangeset
for help on using the changeset viewer.