summaryrefslogtreecommitdiffstats
path: root/setup-alpine.in
diff options
context:
space:
mode:
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
+