mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 15:47:11 +02:00
Avoid mkdir in postinst, doing it in the Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3138 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3013fec286
commit
e659c3738a
@ -81,6 +81,7 @@ $(IPKG_QUAGGA):
|
|||||||
install -d -m0755 $(IDIR_QUAGGA)/etc/init.d/
|
install -d -m0755 $(IDIR_QUAGGA)/etc/init.d/
|
||||||
install -m0755 ./files/quagga.init $(IDIR_QUAGGA)/etc/init.d/quagga
|
install -m0755 ./files/quagga.init $(IDIR_QUAGGA)/etc/init.d/quagga
|
||||||
ln -sf quagga $(IDIR_QUAGGA)/etc/init.d/S49quagga
|
ln -sf quagga $(IDIR_QUAGGA)/etc/init.d/S49quagga
|
||||||
|
install -m0755 $(IDIR_QUAGGA)/var/run/quagga
|
||||||
$(RSTRIP) $(IDIR_QUAGGA)
|
$(RSTRIP) $(IDIR_QUAGGA)
|
||||||
$(IPKG_BUILD) $(IDIR_QUAGGA) $(PACKAGE_DIR)
|
$(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
|
echo "isisd 2608/tcp" >>${IPKG_INSTROOT}/etc/services
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p $dir
|
|
||||||
chown -R $name:$name $dir
|
chown -R $name:$name $dir
|
||||||
|
Loading…
Reference in New Issue
Block a user