added clockconfig on startup

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10187 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2004-11-22 23:33:02 +00:00
parent e2383c107d
commit 21d7f34c42

View File

@ -27,6 +27,19 @@ launchscript() {
fi
}
# runprog <executable path>
runprog() {
if [ -f "/boot/$1" ]
then
"/boot/$1"
return 1
else
echo There is no "$1"
fi
return 0
}
##
## Main script starts here
##
@ -41,6 +54,9 @@ exec >/dev/null 2>&1
SCRIPTS=beos/system/boot
launchscript $SCRIPTS/SetupEnvironment
# Launch clockconfig
runprog beos/bin/clockconfig
# Launch consoled
launch beos/bin/consoled