diff --git a/config/splash.png b/config/splash.png new file mode 100644 index 0000000..68086b5 Binary files /dev/null and b/config/splash.png differ diff --git a/install.sh b/install.sh index decce5b..4c4316f 100755 --- a/install.sh +++ b/install.sh @@ -56,6 +56,11 @@ show_menu () { fi + sudo mv ./config/splash.png /usr/share/plymouth/themes/pix/splash.png + + sed "s@#DIR#@${PWD}@g" config/craftbeerpiboot > /etc/init.d/craftbeerpiboot + chmod 755 /etc/init.d/craftbeerpiboot; + whiptail --title "Installition Finished" --msgbox "CraftBeerPi installation finished! You must hit OK to continue." 8 78 show_menu ;; @@ -84,7 +89,7 @@ show_menu () { 4) confirmAnswer "Are you sure you want to remove CraftBeerPi from autostart" if [ $? = 0 ]; then - sudo rm -f /etc/init.d/craftbeerpiboot + update-rc.d -f craftbeerpiboot remove show_menu else show_menu