- simplyfing some init scripts
This commit is contained in:
Stephan Raue 2009-12-29 19:38:39 +01:00
parent 7e2c43024a
commit 040da1646f
6 changed files with 0 additions and 31 deletions

View File

@ -1,16 +1,11 @@
#!/bin/sh
#
# start cron daemon
#
# runlevels: openelec, text, debug
(
. /etc/sysconfig
progress "Starting Syslog daemon"
mkdir -p /var/log
syslogd
)&
exit 0

View File

@ -1,15 +1,9 @@
#!/bin/sh
#
# store boot time
#
# runlevels: openelec, text, debug
(
. /etc/sysconfig
progress "saving Bootdate"
/bin/date > /tmp/bootdate
)&
exit 0

View File

@ -1,16 +1,10 @@
#!/bin/sh
#
# start cron daemon
#
# runlevels: openelec, text, debug
(
. /etc/sysconfig
progress "Starting CRON daemon"
mkdir -p /var/spool/cron/crontabs
crond -S
)&
exit 0

View File

@ -1,15 +1,9 @@
#!/bin/sh
#
# start the ACPI daemon subsystem
#
# runlevels: openelec, text, debug
(
. /etc/sysconfig
progress "Starting ACPI daemon"
acpid /dev/input/event* 2>&1 > /dev/null
)&
exit 0

View File

@ -1,11 +1,7 @@
#!/bin/sh
#
# start a debugging shell
#
# runlevels: text, debug
. /etc/sysconfig
progress "starting debug shell"
echo "*** type exit to exit ***"

View File

@ -1,11 +1,7 @@
#!/bin/sh
#
# shutdown the system
#
# runlevels: openelec, text, debug,
. /etc/sysconfig
progress "syncing discs"
sync