Buildroot 2018-11 (#258)
* Update to buildroot 2018.11 * containerd update * runc update * runc docker engine * runc docker proxy * update rpi firmware * update network manager * update dhcpd * update wait on network * update rpi wifi * revert glibc
This commit is contained in:
@@ -22,18 +22,18 @@ 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
|
||||
[ "${NETWORKING}" = "no" ] && exit 0
|
||||
elif [ ! -f /etc/network/interfaces ]; then
|
||||
# No network support
|
||||
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.
|
||||
@@ -41,7 +41,7 @@ case "$1" in
|
||||
start)
|
||||
# Start daemon.
|
||||
printf "Starting network plug daemon: "
|
||||
start-stop-daemon -S -q -p /var/run/netplugd.pid -x /sbin/netplugd ${NETPLUGDARGS}
|
||||
start-stop-daemon -S -q -x /sbin/netplugd -- -p /var/run/netplugd.pid ${NETPLUGDARGS}
|
||||
RETVAL=$?
|
||||
echo
|
||||
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/netplugd
|
||||
@@ -49,7 +49,7 @@ case "$1" in
|
||||
stop)
|
||||
# Stop daemon.
|
||||
printf "Shutting down network plug daemon: "
|
||||
start-stop-daemon -K -n netplugd
|
||||
start-stop-daemon -K -q -p /var/run/netplugd.pid
|
||||
RETVAL=$?
|
||||
echo
|
||||
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/netplugd
|
||||
|
||||
Reference in New Issue
Block a user