Better handling of getpwnam and getgrnam for dhcp-forwarde
[openwrt.git] / openwrt / package / quagga / ipkg / quagga.postinst
index 0bb4bdd..ff83cfc 100644 (file)
@@ -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
This page took 0.020925 seconds and 4 git commands to generate.