The syslog_daemon is now launched as well.

Some reorganization.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10865 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-01-19 02:46:12 +00:00
parent c112c082fe
commit c532a93d08
+12 -6
View File
@@ -6,7 +6,7 @@
# launch <executable path> [thread to wait for] # launch <executable path> [thread to wait for]
launch () { launch() {
if [ -f "/boot/$1" ] if [ -f "/boot/$1" ]
then then
"/boot/$1" & "/boot/$1" &
@@ -49,25 +49,31 @@ runprog() {
exec </dev/null exec </dev/null
exec >/dev/null 2>&1 exec >/dev/null 2>&1
# Standard locations of boot files
SCRIPTS=beos/system/boot
SERVERS=beos/system/servers
# Set up the environment # Set up the environment
export SAFEMODE=`/bin/safemode` export SAFEMODE=`/bin/safemode`
SCRIPTS=beos/system/boot
launchscript $SCRIPTS/SetupEnvironment launchscript $SCRIPTS/SetupEnvironment
# Sets timezone etc. # Sets timezone etc.
runprog beos/bin/clockconfig runprog beos/bin/clockconfig
# Launch consoled
launch beos/bin/consoled
# Launch servers # Launch servers
SERVERS=beos/system/servers
# We must wait for the app_server and registrar to be ready
#launch $SERVERS/app_server picasso # launch app_server #launch $SERVERS/app_server picasso # launch app_server
launch $SERVERS/registrar _roster_thread_ # launch registrar launch $SERVERS/registrar _roster_thread_ # launch registrar
if [ "$SAFEMODE" != "yes" ]; then
launch $SERVERS/syslog_daemon
fi
# Launch consoled (to be removed later - this starts the mini console)
launch beos/bin/consoled
# Check for daily saving time # Check for daily saving time
# TODO to be launched when tracker and deskbar are launched # TODO to be launched when tracker and deskbar are launched