Index: /trunk/src/VBox/Installer/linux/vboxautostart-service.sh.in
===================================================================
--- /trunk/src/VBox/Installer/linux/vboxautostart-service.sh.in	(revision 42337)
+++ /trunk/src/VBox/Installer/linux/vboxautostart-service.sh.in	(revision 42338)
@@ -276,6 +276,5 @@
         exit 0
     }
-    PARAMS="--background --start"
-    [ -n "$VBOXAUTOSTART_CONFIG" ] && PARAMS="$PARAMS -c $VBOXAUTOSTART_CONFIG"
+    PARAMS="--background --start --config $VBOXAUTOSTART_CONFIG"
 
     # prevent inheriting this setting to VBoxSVC
@@ -284,5 +283,5 @@
     for user in `ls $VBOXAUTOSTART_DB/*.start`
     do
-        start_daemon `echo $user | sed -ne "s/\(.*\).start/\1/p"` $binary $PARAMS > /dev/null 2>&1
+        start_daemon `basename $user | sed -ne "s/\(.*\).start/\1/p"` $binary $PARAMS > /dev/null 2>&1
     done
 
@@ -306,5 +305,5 @@
     for user in `ls $VBOXAUTOSTART_DB/*.stop`
     do
-        start_daemon `echo $user | sed -ne "s/\(.*\).stop/\1/p"` $binary $PARAMS > /dev/null 2>&1
+        start_daemon `basename $user | sed -ne "s/\(.*\).stop/\1/p"` $binary $PARAMS > /dev/null 2>&1
     done
 
@@ -319,14 +318,4 @@
     stop
     ;;
-restart)
-    ;;
-force-reload)
-    ;;
-status)
-    ;;
-setup)
-    ;;
-cleanup)
-    ;;
 *)
     echo "Usage: $0 {start|stop}"
