This commit is contained in:
psyc://psyced.org/~lynX 2011-12-03 15:54:55 +01:00
parent 4e9aa052bc
commit 308ecf7a04

View File

@ -69,15 +69,15 @@ rights:
chmod +x bin/* run/* config/psyced.settings install.sh utility/multipatcher chmod +x bin/* run/* config/psyced.settings install.sh utility/multipatcher
openwrt: openwrt:
@echo This generates an openwrt-installable package by deleting @echo This installs psyced on an openwrt by deleting large parts
@echo large parts of psyced that are not necessary. 3 seconds pause. @echo of psyced that are not necessary. 3 seconds pause.
@sleep 3 @sleep 3
mkdir etc mkdir local
mkdir etc/init.d cp config/init.d/psyced-openwrt etc/init.d/psyced
mv config/blueprint/* etc mv config/blueprint/* local
mv config/init.d/psyced-openwrt etc/init.d/psyced mv config/psyced.ini local
mv config/psyced.ini etc ln -s /opt/psyced/local /etc/psyc
rm -r .git* CHANGESTODO install.sh bin/psyked bin/csv* config pike rm -r .git* CHANGESTODO install.sh bin/psyked bin/csv* config pike
rm -r run/* utility world/drivers/amylaar world/drivers/mudos log rm -r run/* utility world/drivers/amylaar world/drivers/mudos log
# directory is generated elsewhere # # directory is generated elsewhere
ln -s /var/log/psyced log ln -s /var/log/psyced log