summaryrefslogtreecommitdiffstats
path: root/package/quagga
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-05 15:38:04 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-05 15:38:04 +0000
commit42b35f3aed21e2c6a1ea99886c3c53d83b97f0d9 (patch)
tree3334fc4d3982d4e4f7b611475edd52e05f2c4f62 /package/quagga
parent280690960c9f4c9701b46a0487f039c1627e0395 (diff)
Avoid mkdir in postinst, doing it in the Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3138 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/quagga')
-rw-r--r--package/quagga/Makefile1
-rw-r--r--package/quagga/ipkg/quagga.postinst1
2 files changed, 1 insertions, 1 deletions
diff --git a/package/quagga/Makefile b/package/quagga/Makefile
index e08688c62..a1cc12268 100644
--- a/package/quagga/Makefile
+++ b/package/quagga/Makefile
@@ -81,6 +81,7 @@ $(IPKG_QUAGGA):
install -d -m0755 $(IDIR_QUAGGA)/etc/init.d/
install -m0755 ./files/quagga.init $(IDIR_QUAGGA)/etc/init.d/quagga
ln -sf quagga $(IDIR_QUAGGA)/etc/init.d/S49quagga
+ install -m0755 $(IDIR_QUAGGA)/var/run/quagga
$(RSTRIP) $(IDIR_QUAGGA)
$(IPKG_BUILD) $(IDIR_QUAGGA) $(PACKAGE_DIR)
diff --git a/package/quagga/ipkg/quagga.postinst b/package/quagga/ipkg/quagga.postinst
index ff83cfcae..90ffe61e2 100644
--- a/package/quagga/ipkg/quagga.postinst
+++ b/package/quagga/ipkg/quagga.postinst
@@ -45,5 +45,4 @@ echo "ospfapi 2607/tcp" >>${IPKG_INSTROOT}/etc/services
echo "isisd 2608/tcp" >>${IPKG_INSTROOT}/etc/services
fi
-mkdir -p $dir
chown -R $name:$name $dir