mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-20 23:43:40 +03:00
Avoid mkdir in postinst, doing it in the Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3138 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
280690960c
commit
42b35f3aed
@ -81,6 +81,7 @@ $(IPKG_QUAGGA):
|
||||
install -d -m0755 $(IDIR_QUAGGA)/etc/init.d/
|
||||
install -m0755 ./files/quagga.init $(IDIR_QUAGGA)/etc/init.d/quagga
|
||||
ln -sf quagga $(IDIR_QUAGGA)/etc/init.d/S49quagga
|
||||
install -m0755 $(IDIR_QUAGGA)/var/run/quagga
|
||||
$(RSTRIP) $(IDIR_QUAGGA)
|
||||
$(IPKG_BUILD) $(IDIR_QUAGGA) $(PACKAGE_DIR)
|
||||
|
||||
|
@ -45,5 +45,4 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user