]> Zhao Yanbai Git Server - minix.git/commitdiff
System processes started via servers=... boot monitor parameter
authorJorrit Herder <jnherder@minix3.org>
Tue, 19 Jul 2005 12:14:10 +0000 (12:14 +0000)
committerJorrit Herder <jnherder@minix3.org>
Tue, 19 Jul 2005 12:14:10 +0000 (12:14 +0000)
are now daemonized (instead of SIGNON procedure at PM).

etc/rc
etc/usr/rc

diff --git a/etc/rc b/etc/rc
index 646dbf78d06ba41bc7acd7be5f10d53e24374ede..600fc1fcae7b8458769de97c5ef5ecbf29c44838 100755 (executable)
--- a/etc/rc
+++ b/etc/rc
@@ -2,7 +2,7 @@
 
 umask 022
 TERM="${TERM-minix}"
-PATH=/usr/local/bin:/bin:/usr/bin
+PATH=/usr/local/bin:/bin:/usr/bin:/usr/sbin
 export TERM PATH
 
 usage()
index ccccd13a12ae8a05b14ade2004f0fd1dfd0ffe82..7696ff48be362fc1562a7143c19efeb3226c6ddb 100644 (file)
@@ -36,7 +36,7 @@ start)
 
     # Start servers.
     ifs="$IFS"; IFS=,
-    for server in `sysenv servers`; do /usr/sbin/servers/$server; done
+    for server in `sysenv servers`; do daemonize $server; done
     IFS="$ifs"; unset ifs
     sleep 1