mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Merge remote-tracking branch 'origin/dev-next' into dev
This commit is contained in:
2
debian/ifupdown2.postinst
vendored
2
debian/ifupdown2.postinst
vendored
@@ -56,7 +56,7 @@ case "$1" in
|
||||
|
||||
# Generic stuff done on all configurations
|
||||
if [ -f /etc/network/interfaces ] ; then
|
||||
if ! grep -q "^[[:space:]]*iface[[:space:]]\+lo0\?[[:space:]]\+inet[[:space:]]\+loopback\>" /etc/network/interfaces ; then
|
||||
if ! grep -q -E "^[[:space:]]*iface[[:space:]]+l[o0]([[:space:]]+inet([[:space:]]+loopback)?)?[[:space:]]*$" /etc/network/interfaces ; then
|
||||
report_warn "No 'iface lo' definition found in /etc/network/interfaces"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user