From f5e6eced6e1088b54dc3dce838d64583af54b73e Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 28 Jun 2014 13:48:34 +0200 Subject: [PATCH] ocserv: install missing ocserv-script --- net/ocserv/Makefile | 1 + net/ocserv/files/ocserv-script | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ocserv/Makefile b/net/ocserv/Makefile index 9bca60e3a6..fa85aeb7ff 100644 --- a/net/ocserv/Makefile +++ b/net/ocserv/Makefile @@ -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 diff --git a/net/ocserv/files/ocserv-script b/net/ocserv/files/ocserv-script index e0a601b75d..3251986545 100755 --- a/net/ocserv/files/ocserv-script +++ b/net/ocserv/files/ocserv-script @@ -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" -- 2.30.2