From: Henning Rogge Date: Mon, 10 Aug 2015 11:52:08 +0000 (+0200) Subject: OONF Init script fix for the case that /var/etc does not exist X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b05d89c99063be58fa6d74ad0500bdb92305cf1e;p=feed%2Frouting.git OONF Init script fix for the case that /var/etc does not exist --- diff --git a/oonf-init-scripts/Makefile b/oonf-init-scripts/Makefile index fd1aa06..8bfbf6e 100644 --- a/oonf-init-scripts/Makefile +++ b/oonf-init-scripts/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=oonf-init-scripts -PKG_VERSION:=0.9.1-r2 +PKG_VERSION:=0.9.1-r3 PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) diff --git a/oonf-init-scripts/files/oonf_init.sh b/oonf-init-scripts/files/oonf_init.sh index 1c7b414..8a1bacf 100755 --- a/oonf-init-scripts/files/oonf_init.sh +++ b/oonf-init-scripts/files/oonf_init.sh @@ -42,6 +42,7 @@ oonf_add_devices_to_configuration() # olsrd2.@interface[2].ifname='wan lan wlanadhoc wlanadhocRADIO1' # /var is in ramdisc/tmpfs + mkdir -p /var/etc uci export ${DAEMON} >"/var/etc/${DAEMON}_dev" while section="$( uci -q -c /etc/config get "${DAEMON}.@[${i}]" )"; do {