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 stop /usr/local/sbin/hblink-stop
cp -p start /usr/local/sbin/hblink-start cp -p start /usr/local/sbin/hblink-start
cp -p restart /usr/local/sbin/hblink-restart 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 ] if [ -e /usr/local/sbin/hblink-menu ]
then then
echo "----------------------------------------------------------------------------------------------" echo "----------------------------------------------------------------------------------------------"
@ -143,6 +144,7 @@ fi
chmod 755 /usr/local/sbin/hblink-stop chmod 755 /usr/local/sbin/hblink-stop
chmod 755 /usr/local/sbin/hblink-start chmod 755 /usr/local/sbin/hblink-start
chmod 755 /usr/local/sbin/hblink/restart chmod 755 /usr/local/sbin/hblink/restart
chmod 755 /usr/local/sbin/hblink-initial-setup
echo "Done." echo "Done."
echo "------------------------------------------------------------------------------" echo "------------------------------------------------------------------------------"
@ -666,14 +668,23 @@ echo "Starting HBmon....."
systemctl enable hbmon systemctl enable hbmon
systemctl start hbmon systemctl start hbmon
figlet "HBMonV2" figlet "HBMonV2"
echo ""
echo ""
clear
sleep 2
echo "HBlink First Time Setup....."
sleep 1
figlet "WhipTAIL'"
hblink-initial-setup
sleep 1
echo "Done." echo "Done."
echo "" echo ""
echo "" echo ""
echo "*************************************************************************" echo "*************************************************************************"
echo "" echo ""
echo " The HBlink3 Docker Install Is Complete! " echo " The HBlink3 Docker Install Is Complete! "
echo "" echo ""
echo " ******* To Update run 'hblink-update ******* " echo " ******* To Update run 'hblink-update ******* "
echo "" echo ""
echo " Use 'docker container logs hblink' to check the status. " echo " Use 'docker container logs hblink' to check the status. "
echo " logs are parked in /var/log/hblink. " echo " logs are parked in /var/log/hblink. "
@ -685,10 +696,10 @@ echo " Use the menu to edit your server / config "
echo " Refur to the official HBlink Repo for more documentation " echo " Refur to the official HBlink Repo for more documentation "
echo " https://github.com/HBLink-org/hblink3 " echo " https://github.com/HBLink-org/hblink3 "
echo "" echo ""
echo " Check out the docker installer of HBlink3 here " echo " Check out the docker installer of HBlink3 here "
echo " https://github.com/ShaYmez/hblink3-docker-install " echo " https://github.com/ShaYmez/hblink3-docker-install "
echo "" echo ""
echo " Your IP address is $LOCAL_IP " echo " Your IP address is $LOCAL_IP "
echo "" echo ""
echo " Your running on $ARC with Debian $VERSION " echo " Your running on $ARC with Debian $VERSION "
echo "" echo ""
@ -699,8 +710,6 @@ echo ""
echo "*************************************************************************" echo "*************************************************************************"
echo "" echo ""
echo "" echo ""
echo "Entering HBlink menu....."
sleep 1 sleep 1
figlet "'WhipTAIL'" echo "Please reboot your machine now! Then type 'hblink-menu' to enter control menu!"
sleep 3 exit 0
hblink-menu