From 467739866c29788a405f1440114a1b7a30bdb348 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 4 May 2022 17:49:01 +0200 Subject: setup-alpine: refresh hostname directly after setup-hostname hostname service is now a dependency for networking, so restarting hostname would restart network which is not what we want. --- setup-alpine.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'setup-alpine.in') diff --git a/setup-alpine.in b/setup-alpine.in index 06eee60..9c853d4 100644 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -128,7 +128,7 @@ fi if [ "$rc_sys" != LXC ]; then $PREFIX/sbin/setup-keymap ${KEYMAPOPTS} - $PREFIX/sbin/setup-hostname ${HOSTNAMEOPTS} + $PREFIX/sbin/setup-hostname ${HOSTNAMEOPTS} && rc-service hostname --quiet restart $PREFIX/sbin/setup-devd -C mdev # just to bootstrap fi @@ -168,9 +168,6 @@ for svc in $svc_list; do fi done -# enable new hostname -rc-service hostname --quiet restart - # start up the services openrc boot openrc default -- cgit v1.2.3