From 728ebf674a53e3cbbb1656c41e2c3100cce789e2 Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Sat, 3 Dec 2011 15:40:05 +0100 Subject: [PATCH] 'make openwrt' to create a package suitable for openwrt deployment --- makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/makefile b/makefile index 85875d5..6588fef 100644 --- a/makefile +++ b/makefile @@ -67,3 +67,16 @@ rights: find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; 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 +