mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 20:56:33 +00:00
S40network: bring up all auto interfaces
This commit is contained in:
parent
65eca2e487
commit
95b0ec4778
@ -206,6 +206,9 @@ start() {
|
|||||||
echo "nameserver ${STATIC_DNS}" > /etc/resolv.conf
|
echo "nameserver ${STATIC_DNS}" > /etc/resolv.conf
|
||||||
test $? == 0 && msg_done || msg_fail
|
test $? == 0 && msg_done || msg_fail
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Make sure all auto interfaces are brought up
|
||||||
|
ifup -i ${INTERFACES_CONF} -a >/dev/null
|
||||||
else
|
else
|
||||||
if [[ -n "${STATIC_GW}" ]]; then
|
if [[ -n "${STATIC_GW}" ]]; then
|
||||||
msg_begin "Setting static gateway to ${STATIC_GW}"
|
msg_begin "Setting static gateway to ${STATIC_GW}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user