Browse Source

ocserv: install missing ocserv-script

lilik-openwrt-22.03
Nikos Mavrogiannopoulos 11 years ago
parent
commit
f5e6eced6e
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      net/ocserv/Makefile
  2. +1
    -1
      net/ocserv/files/ocserv-script

+ 1
- 0
net/ocserv/Makefile View File

@ -67,6 +67,7 @@ define Package/ocserv/install
$(INSTALL_DIR) $(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) ./files/ocserv-script $(1)/usr/bin/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/ocserv.init $(1)/etc/init.d/ocserv
$(INSTALL_DIR) $(1)/etc/ocserv


+ 1
- 1
net/ocserv/files/ocserv-script View File

@ -1,6 +1,6 @@
#!/bin/sh
ZONE=`uci get ocserv.config.ZONE`
ZONE=`uci get ocserv.config.zone`
if [ "$REASON" = "connect" ];then
env -i ACTION=ifup INTERFACE="$ZONE" DEVICE=$DEVICE /sbin/hotplug-call "iface"


Loading…
Cancel
Save