path: root/docs
diff options
authorThorsten Glaser <>2014-05-03 22:02:33 (GMT)
committerWaldemar Brodkorb <>2014-05-03 23:21:46 (GMT)
commitd74318f9694b7b852fc3189fff3866408fc0ccd0 (patch)
tree1c597d872fdb79c02bbb1c37ca3c949ffb8056ad /docs
parent1eb27178b7018e3be77d69a280c52321ff560846 (diff)
automatic dæmonising of services
Diffstat (limited to 'docs')
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/running-openadk.txt b/docs/running-openadk.txt
index c4ae0fa..7f33f1c 100644
--- a/docs/running-openadk.txt
+++ b/docs/running-openadk.txt
@@ -88,8 +88,9 @@ The /etc/init.d/rcS script will execute all shell scripts in /etc/init.d in
order with the parameter +autostart+. The order is identified by the +#INIT+
comment in the script. All scripts are sourcing the +/etc/rc.conf+ file to
determine if a service should be started on boot and which flags if any are
-used for the service. By default all services except syslog and ssh are
-disabled. Most scripts provided by OpenADK via
+used for the service. By default all services are disabled. If the variable
+for a service is set to "DAEMON" and mksh is installed, the service starts
+asynchronously in the background. Most scripts provided by OpenADK via
+package/<pkgname>/files/<pkgname>.init+ are like:
@@ -103,6 +104,7 @@ case $1 in
autostop) ;;
test x"${foo:-NO}" = x"NO" && exit 0
+ test x"$foo" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
exec sh $0 start