0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 11:03:48 +01:00

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

View File

@ -37,14 +37,17 @@ addFirewallNet() {
if [ ! -f $IPKG_INSTROOT/etc/banner.default ]; then if [ ! -f $IPKG_INSTROOT/etc/banner.default ]; then
mv $IPKG_INSTROOT/etc/banner $IPKG_INSTROOT/etc/banner.default mv $IPKG_INSTROOT/etc/banner $IPKG_INSTROOT/etc/banner.default
cat <<-\EOM > $IPKG_INSTROOT/etc/banner cat <<-\EOM > $IPKG_INSTROOT/etc/banner
........D o o d l e 3 D ,------. ,--.,--. ,----. ,------.
.......________ _____ _____ | .-. \ ,---. ,---. ,-| || | ,---. '.-. || .-. \
....../ / / |__ / __/ / - /___ __ | | \ :| .-. || .-. |' .-. || || .-. : .' < | | \ :
...../ / / /--// _|-// --| . /v / | '--' /' '-' '' '-' '\ `-' || |\ --./'-' || '--' /
..../________/__//__/__//____/___/_^_\ `-------' `---' `---' `---' `--' `----'`----' `-------'
... __ ___ ______ _ ____
..A cad in a box. \ \ / (_) ____(_) | _ \
. \ \ /\ / / _| |__ _ ______| |_) | _____ __
\ \/ \/ / | | __| | |______| _ < / _ \ \/ /
\ /\ / | | | | | | |_) | (_) > <
\/ \/ |_|_| |_| |____/ \___/_/\_\
EOM EOM
fi fi