Commit 400ae00d authored by Ryan Jackson's avatar Ryan Jackson
Browse files

Don't try to remove the udhcpc lock on network stop

parent 1446367e
......@@ -67,14 +67,13 @@ stop() {
[ $iface = 'lo' ] && continue
ifconfig $iface 0.0.0.0 down
done
rmdir $LOCKDIR
rm -f $SUCCESS_FLAG
cat /dev/null > /etc/resolv.conf
}
restart() {
stop
start
}
}
case "$1" in
start)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment