openrc: use -S to consistently define the state database location
This commit is contained in:
parent
fcea23dbcd
commit
1668d17c6b
1 changed files with 1 additions and 1 deletions
2
dist/openrc/networking.initd
vendored
2
dist/openrc/networking.initd
vendored
|
@ -62,7 +62,7 @@ stop() {
|
||||||
eindent
|
eindent
|
||||||
for iface in $(find_running_ifaces); do
|
for iface in $(find_running_ifaces); do
|
||||||
ebegin "$iface"
|
ebegin "$iface"
|
||||||
ifdown -i "$cfgfile" -f $iface >/dev/null
|
ifdown -i "$cfgfile" -S "$ifstate" -f $iface >/dev/null
|
||||||
eend $?
|
eend $?
|
||||||
done
|
done
|
||||||
eoutdent
|
eoutdent
|
||||||
|
|
Loading…
Reference in a new issue