From 8d0e8886d4c79776e1a73d357c02d86ebea0e769 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 8 Jan 2006 23:34:17 +0000 Subject: Creates /var/run/quagga and fixes permissions on it, closes #192 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2864 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/quagga/ipkg/quagga.postinst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openwrt') diff --git a/openwrt/package/quagga/ipkg/quagga.postinst b/openwrt/package/quagga/ipkg/quagga.postinst index 0bb4bdda6..ff83cfcae 100644 --- a/openwrt/package/quagga/ipkg/quagga.postinst +++ b/openwrt/package/quagga/ipkg/quagga.postinst @@ -2,6 +2,7 @@ name=quagga id=51 +dir=/var/run/quagga # do not change below # check if we are on real system @@ -43,3 +44,6 @@ echo "ospf6d 2606/tcp" >>${IPKG_INSTROOT}/etc/services 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 -- cgit v1.2.3