- 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 # start cron daemon
# #
# runlevels: openelec, text, debug # runlevels: openelec, text, debug
( (
. /etc/sysconfig
progress "Starting Syslog daemon" progress "Starting Syslog daemon"
mkdir -p /var/log mkdir -p /var/log
syslogd syslogd
)& )&
exit 0

View File

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

View File

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

View File

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

View File

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

View File

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