mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-10 02:55:27 +02:00
- Fix Service Installation
- Fix Autostart - Add Splash Screen for Pixel
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.9 MiB |
+6
-1
@@ -56,6 +56,11 @@ show_menu () {
|
|||||||
|
|
||||||
fi
|
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
|
whiptail --title "Installition Finished" --msgbox "CraftBeerPi installation finished! You must hit OK to continue." 8 78
|
||||||
show_menu
|
show_menu
|
||||||
;;
|
;;
|
||||||
@@ -84,7 +89,7 @@ show_menu () {
|
|||||||
4)
|
4)
|
||||||
confirmAnswer "Are you sure you want to remove CraftBeerPi from autostart"
|
confirmAnswer "Are you sure you want to remove CraftBeerPi from autostart"
|
||||||
if [ $? = 0 ]; then
|
if [ $? = 0 ]; then
|
||||||
sudo rm -f /etc/init.d/craftbeerpiboot
|
update-rc.d -f craftbeerpiboot remove
|
||||||
show_menu
|
show_menu
|
||||||
else
|
else
|
||||||
show_menu
|
show_menu
|
||||||
|
|||||||
Reference in New Issue
Block a user