Update hblink3-docker-install.sh

Add initial setup to installer
This commit is contained in:
M0VUB 2023-01-03 21:32:22 +00:00 committed by GitHub
parent cff24048a0
commit d76706e425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,7 @@ echo "--------------------------------------------------------------------------
cp -p stop /usr/local/sbin/hblink-stop
cp -p start /usr/local/sbin/hblink-start
cp -p restart /usr/local/sbin/hblink-restart
cp -p initial-setup /usr/local/sbin/hblink-initial-setup
if [ -e /usr/local/sbin/hblink-menu ]
then
echo "----------------------------------------------------------------------------------------------"
@ -143,6 +144,7 @@ fi
chmod 755 /usr/local/sbin/hblink-stop
chmod 755 /usr/local/sbin/hblink-start
chmod 755 /usr/local/sbin/hblink/restart
chmod 755 /usr/local/sbin/hblink-initial-setup
echo "Done."
echo "------------------------------------------------------------------------------"
@ -666,6 +668,15 @@ echo "Starting HBmon....."
systemctl enable hbmon
systemctl start hbmon
figlet "HBMonV2"
echo ""
echo ""
clear
sleep 2
echo "HBlink First Time Setup....."
sleep 1
figlet "WhipTAIL'"
hblink-initial-setup
sleep 1
echo "Done."
echo ""
echo ""
@ -699,8 +710,6 @@ echo ""
echo "*************************************************************************"
echo ""
echo ""
echo "Entering HBlink menu....."
sleep 1
figlet "'WhipTAIL'"
sleep 3
hblink-menu
echo "Please reboot your machine now! Then type 'hblink-menu' to enter control menu!"
exit 0