7 lines
106 B
Bash
7 lines
106 B
Bash
#!/bin/sh
|
|
|
|
[ "$ACTION" == "ifup" ] || exit 0
|
|
|
|
[ "$INTERFACE" = "wan" ] && {
|
|
/etc/init.d/chilli restart
|
|
}
|