'make openwrt' to create a package suitable for openwrt deployment

This commit is contained in:
psyc://psyced.org/~lynX 2011-12-03 15:40:05 +01:00
parent 781cf5136a
commit 728ebf674a

View File

@ -67,3 +67,16 @@ rights:
find . -type d -exec chmod 755 {} \; find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \; find . -type f -exec chmod 644 {} \;
chmod +x bin/* run/* config/psyced.settings install.sh utility/multipatcher chmod +x bin/* run/* config/psyced.settings install.sh utility/multipatcher
openwrt:
@echo This generates an openwrt-installable package by deleting
@echo large parts of psyced that are not necessary. 3 seconds pause.
@sleep 3
mkdir etc
mkdir etc/init.d
mv config/blueprint/* etc
mv config/init.d/psyced-openwrt etc/init.d/psyced
mv config/psyced.ini etc
rm -r .git* CHANGESTODO install.sh bin/psyked bin/csv* config pike
rm -r run/* utility world/drivers/amylaar world/drivers/mudos