Alexander Afanasyev | bcbf15e | 2014-05-09 10:23:37 -0700 | [diff] [blame^] | 1 | # nfd-restart.conf |
2 | # | ||||
3 | # Restarting NDN Forwarding Daemon on network connectivity changes | ||||
4 | |||||
5 | start on net-device-up | ||||
6 | task | ||||
7 | instance $IFACE | ||||
8 | |||||
9 | script | ||||
10 | status nfd | grep -q start/ || stop | ||||
11 | restart nfd | ||||
12 | end script |