mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
interfaces: background configd reconfigure; closes #2267
This commit is contained in:
parent
55641d204d
commit
e9f2862bd7
@ -54,6 +54,6 @@ elif [ "${AF}" = "inet6" ]; then
|
||||
rm -f /tmp/${IF}_routerv6 /tmp/${IF}upv6 /tmp/${IF}_ipv6
|
||||
fi
|
||||
|
||||
/usr/local/opnsense/service/configd_ctl.py dns reload
|
||||
daemon -f /usr/local/opnsense/service/configd_ctl.py dns reload
|
||||
|
||||
exit 0
|
||||
|
||||
@ -32,7 +32,7 @@ if [ "${2}" = "inet" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
/usr/local/opnsense/service/configd_ctl.py interface newip ${1}
|
||||
daemon -f /usr/local/opnsense/service/configd_ctl.py interface newip ${1}
|
||||
elif [ "${2}" = "inet6" ]; then
|
||||
# let the configuration system know that the ipv6 has changed.
|
||||
echo ${4} |cut -d% -f1 > /tmp/${1}_routerv6
|
||||
@ -56,7 +56,7 @@ elif [ "${2}" = "inet6" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
/usr/local/opnsense/service/configd_ctl.py interface newipv6 ${1}
|
||||
daemon -f /usr/local/opnsense/service/configd_ctl.py interface newipv6 ${1}
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user