diff options
author | Florian Fainelli <florian@openwrt.org> | 2006-01-08 23:34:17 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2006-01-08 23:34:17 +0000 |
commit | 50ace1c6d91f3143478c0b72f5ec91d3da44e7ff (patch) | |
tree | ba3434b76059cd6bcfacaba0a5d5a1546190074b /openwrt/package/quagga | |
parent | 4fb752fea6816787478563d958a4d33be03454a4 (diff) | |
download | mtk-20170518-50ace1c6d91f3143478c0b72f5ec91d3da44e7ff.zip mtk-20170518-50ace1c6d91f3143478c0b72f5ec91d3da44e7ff.tar.gz mtk-20170518-50ace1c6d91f3143478c0b72f5ec91d3da44e7ff.tar.bz2 |
Creates /var/run/quagga and fixes permissions on it, closes #192
SVN-Revision: 2864
Diffstat (limited to 'openwrt/package/quagga')
-rw-r--r-- | openwrt/package/quagga/ipkg/quagga.postinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/package/quagga/ipkg/quagga.postinst b/openwrt/package/quagga/ipkg/quagga.postinst index 0bb4bdd..ff83cfc 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 |