From dd5e3d1e37ff8bda40b3e1a39285a5f162607139 Mon Sep 17 00:00:00 2001 From: Rick Companje Date: Sun, 22 May 2016 01:03:40 +0200 Subject: [PATCH] added a new banner to post-install Currently we add our banner in the `post-install.sh` script. We might want to look into putting files in a `files/` folder and having the files copied in the `make package/OUR_PACKAGE/install` step as described in this tutorial: http://wiki.prplfoundation.org/wiki/Creating_an_OpenWrt_package_for_a_web_page --- post-install.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/post-install.sh b/post-install.sh index 2f4282f..06e9c66 100644 --- a/post-install.sh +++ b/post-install.sh @@ -37,14 +37,17 @@ addFirewallNet() { if [ ! -f $IPKG_INSTROOT/etc/banner.default ]; then mv $IPKG_INSTROOT/etc/banner $IPKG_INSTROOT/etc/banner.default cat <<-\EOM > $IPKG_INSTROOT/etc/banner - ........D o o d l e 3 D - .......________ _____ _____ - ....../ / / |__ / __/ / - /___ __ - ...../ / / /--// _|-// --| . /v / - ..../________/__//__/__//____/___/_^_\ - ... - ..A cad in a box. - . + ,------. ,--.,--. ,----. ,------. + | .-. \ ,---. ,---. ,-| || | ,---. '.-. || .-. \ + | | \ :| .-. || .-. |' .-. || || .-. : .' < | | \ : + | '--' /' '-' '' '-' '\ `-' || |\ --./'-' || '--' / + `-------' `---' `---' `---' `--' `----'`----' `-------' + __ ___ ______ _ ____ + \ \ / (_) ____(_) | _ \ + \ \ /\ / / _| |__ _ ______| |_) | _____ __ + \ \/ \/ / | | __| | |______| _ < / _ \ \/ / + \ /\ / | | | | | | |_) | (_) > < + \/ \/ |_|_| |_| |____/ \___/_/\_\ EOM fi