This is working now on wr1043nd too

This commit is contained in:
floh1111 2011-05-25 20:45:46 +00:00
parent 3947e8ecca
commit 1ef6741939
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,6 @@
[ ifup = "$ACTION" -a "$DEVICE" = eth0 ] && {
sh /etc/tincstart.sh
}
#!/bin/sh
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
sh /etc/tincstart.sh
sleep 30
sh /etc/tincstart.sh
}

View File

@ -1,3 +1,4 @@
[ ifup = "$ACTION" -a "$DEVICE" = eth0 ] && {
#!/bin/sh
[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
sh /etc/nodewatcher.sh
}
}