summaryrefslogtreecommitdiffstats
path: root/openwrt/package/quagga/ipkg/quagga.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/quagga/ipkg/quagga.postinst')
-rw-r--r--openwrt/package/quagga/ipkg/quagga.postinst4
1 files changed, 4 insertions, 0 deletions
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