Keep files in /etc/openvpn during sysupgrade

git-svn-id: svn://svn.openwrt.org/openwrt/packages@26243 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
thepeople 2011-03-20 01:29:40 +00:00
parent 166ca2f437
commit 72d4f95dc2
2 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,8 @@ define Package/openvpn/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
$(INSTALL_DIR) $(1)/etc/openvpn
$(INSTALL_DIR) $(1)/lib/upgrade/keep.d
$(INSTALL_DATA) files/openvpn.upgrade $(1)/lib/upgrade/keep.d/openvpn
endef
define Package/openvpn-easy-rsa/install

View File

@ -0,0 +1 @@
/etc/openvpn/