summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/netplug/S29netplug8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/netplug/S29netplug b/package/netplug/S29netplug
index 03422499d6..04cac9f07c 100755
--- a/package/netplug/S29netplug
+++ b/package/netplug/S29netplug
@@ -22,8 +22,8 @@ elif [ -f /etc/rc.d/init.d/functions ]; then
fi
# Source networking configuration.
-if [ -f /etc/sysconfig/network ]; then
- . /etc/sysconfig/network
+if [ -f /etc/default/network ]; then
+ . /etc/default/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
@@ -32,8 +32,8 @@ elif [ ! -f /etc/network/interfaces ]; then
exit 0
fi
-if [ -f /etc/sysconfig/netplugd ]; then
- . /etc/sysconfig/netplugd
+if [ -f /etc/default/netplugd ]; then
+ . /etc/default/netplugd
fi
# See how we were called.
OpenPOWER on IntegriCloud