Changeset 42338 in vbox for trunk/src/VBox
- Timestamp:
- Jul 24, 2012 8:05:34 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/vboxautostart-service.sh.in
r41999 r42338 276 276 exit 0 277 277 } 278 PARAMS="--background --start" 279 [ -n "$VBOXAUTOSTART_CONFIG" ] && PARAMS="$PARAMS -c $VBOXAUTOSTART_CONFIG" 278 PARAMS="--background --start --config $VBOXAUTOSTART_CONFIG" 280 279 281 280 # prevent inheriting this setting to VBoxSVC … … 284 283 for user in `ls $VBOXAUTOSTART_DB/*.start` 285 284 do 286 start_daemon ` echo$user | sed -ne "s/\(.*\).start/\1/p"` $binary $PARAMS > /dev/null 2>&1285 start_daemon `basename $user | sed -ne "s/\(.*\).start/\1/p"` $binary $PARAMS > /dev/null 2>&1 287 286 done 288 287 … … 306 305 for user in `ls $VBOXAUTOSTART_DB/*.stop` 307 306 do 308 start_daemon ` echo$user | sed -ne "s/\(.*\).stop/\1/p"` $binary $PARAMS > /dev/null 2>&1307 start_daemon `basename $user | sed -ne "s/\(.*\).stop/\1/p"` $binary $PARAMS > /dev/null 2>&1 309 308 done 310 309 … … 319 318 stop 320 319 ;; 321 restart)322 ;;323 force-reload)324 ;;325 status)326 ;;327 setup)328 ;;329 cleanup)330 ;;331 320 *) 332 321 echo "Usage: $0 {start|stop}"
Note:
See TracChangeset
for help on using the changeset viewer.