openrc: use -S to consistently define the state database location

This commit is contained in:
Ariadne Conill 2020-10-14 02:48:51 -06:00
parent fcea23dbcd
commit 1668d17c6b

View file

@ -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