From d74318f9694b7b852fc3189fff3866408fc0ccd0 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Sat, 3 May 2014 22:02:33 +0000 Subject: =?UTF-8?q?automatic=20d=C3=A6monising=20of=20services?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/running-openadk.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/running-openadk.txt b/docs/running-openadk.txt index c4ae0fa72..7f33f1cd1 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//files/.init+ are like: --------------------- @@ -103,6 +104,7 @@ case $1 in autostop) ;; autostart) 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 ;; start) -- cgit v1.2.3