Last active
April 8, 2020 19:17
-
-
Save vieskees/8dd3330438dfbe33b822fcde5974e4d7 to your computer and use it in GitHub Desktop.
Start script init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
. /boot/bss_variables.config | |
echo "Start beerfridge start scripts: " | |
echo "Beerfridge Start Script:[[ INIT ]]" | |
cat /boot/bss_variables.config | |
sudo sh /boot/bss_set_host_and_ip_master.sh | |
sudo sh /boot/bss_set_host_and_ip_master.sh | |
sudo sh /boot/bss_set_network.sh | |
sudo sh /boot/bss_set_user_password.sh | |
sudo rm /boot/bss_set_network.sh | |
sudo rm /boot/bss_set_host_and_ip_master.sh | |
sudo rm /boot/bss_set_user_password.sh | |
sudo rm /boot/bss_variables.config | |
echo "End beerfridge start scripts: restart" | |
sleep 10 | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment