mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 19:04:32 +04:00
Several changes in Makefile. Migrate init script to procd. Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
13 lines
265 B
Bash
13 lines
265 B
Bash
#!/bin/sh
|
|
|
|
# should restart shorewall when an interface comes up
|
|
|
|
case "$ACTION" in
|
|
ifup)
|
|
/etc/init.d/shorewall6-lite restart
|
|
;;
|
|
ifdown)
|
|
# might need to restore some routing
|
|
/etc/init.d/shorewall6-lite restart
|
|
;;
|
|
esac |