Changeset 57721 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Sep 11, 2015 3:51:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-service.sh
r56860 r57721 94 94 if [ "$system" = "debian" ]; then 95 95 daemon() { 96 start-stop-daemon --start --exec $1 -- $2 96 start-stop-daemon --start --exec $1 -- $2 $3 97 97 } 98 98 … … 121 121 fi 122 122 daemon() { 123 start-stop-daemon --start --exec $1 -- $2 123 start-stop-daemon --start --exec $1 -- $2 $3 124 124 } 125 125 … … 147 147 if [ "$system" = "slackware" -o "$system" = "other" ]; then 148 148 daemon() { 149 $1 $2 149 $1 $2 $3 150 150 } 151 151 … … 172 172 . /etc/rc.d/init.d/functions 173 173 daemon() { 174 loadproc $1 $2 174 loadproc $1 $2 $3 175 175 } 176 176 … … 213 213 } 214 214 testbinary 215 daemon $binary > /dev/null215 daemon $binary --pidfile $PIDFILE > /dev/null 216 216 RETVAL=$? 217 test $RETVAL -eq 0 && echo `pidof VBoxService` > $PIDFILE218 217 succ_msg 219 218 fi
Note:
See TracChangeset
for help on using the changeset viewer.