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 | d841620e1a935dabeb92889392e6c0ecba8f93c0 (patch) | |
tree | 6d649b99de02fe4f5cd4306bbda1c0fa822f4326 /package/quagga | |
parent | b64419999901cbbc998d6d75cbfef6cbb5b5bc85 (diff) | |
download | upstream-d841620e1a935dabeb92889392e6c0ecba8f93c0.tar.gz upstream-d841620e1a935dabeb92889392e6c0ecba8f93c0.tar.bz2 upstream-d841620e1a935dabeb92889392e6c0ecba8f93c0.zip |
Creates /var/run/quagga and fixes permissions on it, closes #192
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2864 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/quagga')
-rw-r--r-- | package/quagga/ipkg/quagga.postinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/quagga/ipkg/quagga.postinst b/package/quagga/ipkg/quagga.postinst index 0bb4bdda6d..ff83cfcae4 100644 --- a/package/quagga/ipkg/quagga.postinst +++ b/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 |