There are two small fixes:
1) The "arch" section of the script was missing a "begin" function which
caused an error to be output on start and stop, so I added the function.
2) The filename given to the "add_daemon" function was incorrect. This
was preventing the script from being called properly on shutdown.
The code is released under the MIT license.
-Alan Savage
153c153
< test $? -eq 0 && add_daemon `basename $1`
---
> test $? -eq 0 && add_daemon rc.`basename $1`
167a168,171
>
> begin() {
> echo -n "$1"
> }
_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev