diff options
author | Lukas Bestle <mail@lukasbestle.com> | 2021-07-10 13:42:34 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2021-11-16 11:19:28 +0000 |
commit | 39c91c1486c55ce1ee3ec1e646032d04e21406ed (patch) | |
tree | ea311c93a2071e3562c1f08be8ba0635155fde7d /setup-alpine.in | |
parent | 6864a1896aabf9672e9055314733b427fdafa099 (diff) | |
download | alpine-conf-39c91c1486c55ce1ee3ec1e646032d04e21406ed.zip |
setup-interfaces: New -r flag to restart service
Fixes #10480.
Fixes #10484.
Diffstat (limited to 'setup-alpine.in')
-rw-r--r-- | setup-alpine.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/setup-alpine.in b/setup-alpine.in index 392290b..4ffae48 100644 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -128,12 +128,10 @@ if [ "$rc_sys" != LXC ]; then fi if [ -n "$INTERFACESOPTS" ]; then - printf "$INTERFACESOPTS" | $PREFIX/sbin/setup-interfaces -i + printf "$INTERFACESOPTS" | $PREFIX/sbin/setup-interfaces -ir else - $PREFIX/sbin/setup-interfaces ${quick:+-a} + $PREFIX/sbin/setup-interfaces ${quick:+-a} -r fi -# start the networking -/etc/init.d/networking --quiet start >/dev/null # setup up dns if no dhcp was configured grep '^iface.*dhcp' $ROOT/etc/network/interfaces > /dev/null ||\ |