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
This commit is contained in:
Rick Companje 2016-05-22 01:03:40 +02:00
parent 1c88c17390
commit dd5e3d1e37
1 changed files with 11 additions and 8 deletions

View File

@ -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