ksymoops: remove package, it has been obsolete and useless for a long time
[openwrt.org/packages.git] / net / ifstate
1 if [ -r /etc/openwrt_release ] && [ -n "$OPENWRT_INTERFACE" ]; then
2 uci_set_state network "$OPENWRT_INTERFACE" banner "$CISCO_BANNER"
3 uci_set_state network "$OPENWRT_INTERFACE" ifname "$TUNDEV"
4 [ -n "$INTERNAL_IP4_ADDRESS" ] && uci_set_state network "$OPENWRT_INTERFACE" ipaddr "$INTERNAL_IP4_ADDRESS"
5 [ -n "$INTERNAL_IP6_NETMASK" ] && uci_set_state network "$OPENWRT_INTERFACE" ip6addr "$INTERNAL_IP6_NETMASK"
6 env -i ACTION="ifup" INTERFACE="$OPENWRT_INTERFACE" DEVICE="$TUNDEV" PROTO=openconnect /sbin/hotplug-call "iface"
7 fi
8
comments