summaryrefslogtreecommitdiffstats
path: root/setup-alpine.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-06-12 09:40:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-06-12 09:40:49 +0000
commit35b7b1ab86b8dd62e86029b837c8a8e1135a2423 (patch)
treedf5462c838ea673296e70626e73a62ef4e914ed0 /setup-alpine.in
parent0f56a35027fb2af7cf39d45e127e837c59b4cb15 (diff)
downloadalpine-conf-35b7b1ab86b8dd62e86029b837c8a8e1135a2423.tar.bz2
alpine-conf-35b7b1ab86b8dd62e86029b837c8a8e1135a2423.tar.xz
use rc-update quietly. some sysinit/boot svc are added from initramfs
Diffstat (limited to 'setup-alpine.in')
-rw-r--r--setup-alpine.in16
1 files changed, 4 insertions, 12 deletions
diff --git a/setup-alpine.in b/setup-alpine.in
index 0ca2af0..3472f53 100644
--- a/setup-alpine.in
+++ b/setup-alpine.in
@@ -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
-done
+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
-done
-
-for i in networking; do
- rc-update add $i default
-done
+# enable new hostname
+/etc/init.d/hostname --quiet restart
# start up the services
-rc sysinit
rc boot
rc default
+