diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-12 09:40:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-12 09:40:49 +0000 |
commit | 35b7b1ab86b8dd62e86029b837c8a8e1135a2423 (patch) | |
tree | df5462c838ea673296e70626e73a62ef4e914ed0 /setup-alpine.in | |
parent | 0f56a35027fb2af7cf39d45e127e837c59b4cb15 (diff) | |
download | alpine-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.in | 16 |
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 + |