mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
board/common: simplify netd reload
With the latest backported fixes to Finit, we no longer need to remove /run/netd.pid to trigger a reload (restart) of staticd. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -119,7 +119,6 @@ set_dhcp_routes()
|
||||
cmp -s "$NAME" "$NEXT" && return
|
||||
mv "$NEXT" "$NAME"
|
||||
|
||||
rm /run/netd.pid
|
||||
initctl reload netd
|
||||
}
|
||||
|
||||
@@ -129,7 +128,6 @@ clr_dhcp_routes()
|
||||
[ -f "$NAME" ] || return
|
||||
rm "$NAME"
|
||||
|
||||
rm /run/netd.pid
|
||||
initctl reload netd
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user