Skip to content

Commit

Permalink
[freifunk-berlin-openvpn-files] keep content of /etc/openvpn on sysup…
Browse files Browse the repository at this point in the history
…grade

This should fix freifunk-berlin/firmware#238

We move the ffvpn-up.sh script to the /lib/freifunk directory. This way we
exclude the script from the backup of /etc/openvpn. Other communities already
use /lib/freifunk as directory for code so we use it instead of
/usr/lib/freifunk.
  • Loading branch information
booo committed Jul 19, 2015
1 parent 1820c73 commit 0efb915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion utils/freifunk-berlin-openvpn-files/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ define Package/freifunk-berlin-openvpn-files/install
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(CP) ./uci-defaults/* $(1)/etc/uci-defaults
$(INSTALL_DIR) $(1)/etc/openvpn
$(CP) ./openvpn/* $(1)/etc/openvpn
$(CP) ./openvpn/freifunk-ca.crt $(1)/etc/openvpn
$(INSTALL_DIR) $(1)/lib/freifunk
$(CP) ./openvpn/ffvpn-up.sh $(1)/lib/freifunk
endef

$(eval $(call BuildPackage,freifunk-berlin-openvpn-files))
2 changes: 0 additions & 2 deletions utils/luci-app-ffwizard-berlin/lib-upgrade/openvpn

This file was deleted.

0 comments on commit 0efb915

Please sign in to comment.