mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
ocserv: removed unecessary instructions and script
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user