Skip to content

Instantly share code, notes, and snippets.

@vieskees
Last active April 8, 2020 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vieskees/8dd3330438dfbe33b822fcde5974e4d7 to your computer and use it in GitHub Desktop.
Save vieskees/8dd3330438dfbe33b822fcde5974e4d7 to your computer and use it in GitHub Desktop.
Start script init
#! /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