Commit 35b7b1ab authored by Natanael Copa's avatar Natanael Copa

use rc-update quietly. some sysinit/boot svc are added from initramfs

parent 0f56a350
......@@ -33,20 +33,12 @@ grep '^iface.*dhcp' $ROOT/etc/network/interfaces > /dev/null ||\
# set root password
[ -z "$NOCOMMIT" ] && while ! passwd ; do echo "Please retry." ; done
for i in devfs dmesg; do
rc-update add $i sysinit
rc-update -q add networking boot
# add some boot services
for i in hwclock modules sysctl hostname syslog bootmisc; do
rc-update add $i boot
for i in networking; do
rc-update add $i default
# enable new hostname
/etc/init.d/hostname --quiet restart
# start up the services
rc sysinit
rc boot
rc default
......@@ -45,7 +45,7 @@ setup_mapfile() {
echo "KEYMAP=/etc/keymap/$name.gz" >> "$conf"
# we actually load the keymap now
zcat /etc/keymap/$name.gz | loadkmap
rc-update add keymaps boot
rc-update -q add keymaps boot
goodbye 0
......@@ -94,7 +94,6 @@ MINI_HTTPD_OPTS="-C /etc/mini_httpd.conf"
pidof mini_httpd >/dev/null && /etc/init.d/mini_httpd stop
rc-update add mini_httpd default
/etc/init.d/mini_httpd start
rc-update -q add mini_httpd default
/etc/init.d/mini_httpd restart
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment