mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
busybox:
- simplyfing some init scripts
This commit is contained in:
parent
7e2c43024a
commit
040da1646f
@ -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
|
||||
|
@ -1,15 +1,9 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# store boot time
|
||||
#
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
(
|
||||
. /etc/sysconfig
|
||||
|
||||
progress "saving Bootdate"
|
||||
|
||||
/bin/date > /tmp/bootdate
|
||||
)&
|
||||
|
||||
exit 0
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,11 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# start a debugging shell
|
||||
#
|
||||
# runlevels: text, debug
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
progress "starting debug shell"
|
||||
|
||||
echo "*** type exit to exit ***"
|
||||
|
@ -1,11 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# shutdown the system
|
||||
#
|
||||
# runlevels: openelec, text, debug,
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
progress "syncing discs"
|
||||
sync
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user