summaryrefslogtreecommitdiff
path: root/personal-pkgs-repo/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-11-29 16:20:03 +0100
committerKarel Kočí <karel.koci@nic.cz>2018-11-29 16:20:03 +0100
commitf4282d7a102792e89484ce7418cb1a7ae27e6ea3 (patch)
tree0067aa8f5ff5d154f638c426666d8aa4d3685f67 /personal-pkgs-repo/Makefile
parent4988898765c5eb25aa11242bedafaa8234f611c6 (diff)
downloadopenwrt-personal-pkgs-f4282d7a102792e89484ce7418cb1a7ae27e6ea3.tar.gz
openwrt-personal-pkgs-f4282d7a102792e89484ce7418cb1a7ae27e6ea3.tar.bz2
openwrt-personal-pkgs-f4282d7a102792e89484ce7418cb1a7ae27e6ea3.zip
personal-pkgs-repo: try to enable openvpn
This is hack like hell.
Diffstat (limited to 'personal-pkgs-repo/Makefile')
-rw-r--r--personal-pkgs-repo/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/personal-pkgs-repo/Makefile b/personal-pkgs-repo/Makefile
index 6b9b9c0..1f868f7 100644
--- a/personal-pkgs-repo/Makefile
+++ b/personal-pkgs-repo/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=personal-pkgs-repo
-PKG_VERSION:=1.5
+PKG_VERSION:=1.5.1
PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
@@ -45,6 +45,8 @@ define Package/$(PKG_NAME)/postinst
feedsfile="$$IPKG_INSTROOT/etc/opkg/customfeeds.conf"
sed -i '/^src\/gz personal/d' "$$feedsfile"
echo "src/gz personal https://cynerd.cz/repo/turris3x/$(BOARD)" >> "$$feedsfile"
+/etc/init.d/openvpn enable
+/etc/init.d/openvpn restart
endef
define Package/$(PKG_NAME)/prerm