ocserv: removed unecessary instructions and script

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos
2015-10-31 11:50:47 +01:00
parent d56ae0e94e
commit 7c9c18e756
3 changed files with 1 additions and 14 deletions
-11
View File
@@ -1,11 +0,0 @@
#!/bin/sh
ZONE=`uci get ocserv.config.zone`
if [ "$REASON" = "connect" ];then
env -i ACTION=ifup INTERFACE="$ZONE" DEVICE=$DEVICE /sbin/hotplug-call "iface"
else
env -i ACTION=ifdown INTERFACE="$ZONE" DEVICE=$DEVICE /sbin/hotplug-call "iface"
fi
exit 0