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:
@@ -27,6 +27,19 @@ launchscript() {
|
|||||||
fi
|
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
|
## Main script starts here
|
||||||
##
|
##
|
||||||
@@ -41,6 +54,9 @@ exec >/dev/null 2>&1
|
|||||||
SCRIPTS=beos/system/boot
|
SCRIPTS=beos/system/boot
|
||||||
launchscript $SCRIPTS/SetupEnvironment
|
launchscript $SCRIPTS/SetupEnvironment
|
||||||
|
|
||||||
|
# Launch clockconfig
|
||||||
|
runprog beos/bin/clockconfig
|
||||||
|
|
||||||
# Launch consoled
|
# Launch consoled
|
||||||
|
|
||||||
launch beos/bin/consoled
|
launch beos/bin/consoled
|
||||||
|
|||||||
Reference in New Issue
Block a user