Browse Source

ocserv: removed unecessary instructions and script

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
lilik-openwrt-22.03
Nikos Mavrogiannopoulos 9 years ago
parent
commit
7c9c18e756
3 changed files with 1 additions and 14 deletions
  1. +0
    -1
      net/ocserv/Makefile
  2. +1
    -2
      net/ocserv/README
  3. +0
    -11
      net/ocserv/files/ocserv-script

+ 0
- 1
net/ocserv/Makefile View File

@ -92,7 +92,6 @@ define Package/ocserv/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ocpasswd $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ocpasswd $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/occtl $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/occtl $(1)/usr/bin/
$(INSTALL_BIN) ./files/ocserv-script $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/ocserv.init $(1)/etc/init.d/ocserv $(INSTALL_BIN) ./files/ocserv.init $(1)/etc/init.d/ocserv
$(INSTALL_DIR) $(1)/etc/ocserv $(INSTALL_DIR) $(1)/etc/ocserv


+ 1
- 2
net/ocserv/README View File

@ -18,7 +18,6 @@ config ocserv 'config'
option netmask '255.255.255.0' option netmask '255.255.255.0'
option ipaddr '10.100.3.0' option ipaddr '10.100.3.0'
option auth 'plain' option auth 'plain'
option zone 'vpn'
option default_domain 'lan' option default_domain 'lan'
option compression '1' option compression '1'
option enable '1' option enable '1'
@ -57,7 +56,7 @@ config interface 'vpn'
----/etc/config/firewall----------------------------------------- ----/etc/config/firewall-----------------------------------------
config zone config zone
option input 'ACCEPT' option input 'ACCEPT'
option forward 'REJECT'
option forward 'ACCEPT'
option output 'ACCEPT' option output 'ACCEPT'
option name 'vpn' option name 'vpn'
option device 'vpns+' option device 'vpns+'


+ 0
- 11
net/ocserv/files/ocserv-script 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

Loading…
Cancel
Save