|
@@ -195,7 +195,7 @@ fi
|
|
|
cat <<'EOF'>> /tmp/wakemeup.sh
|
|
|
#!/bin/bash
|
|
|
set -e
|
|
|
-if ! [ -x "$(command -v etherwake)" ];then sudo apt-get install etherwake -y;fi
|
|
|
+if ! [ -x "$(command -v ether-wake)" ];then sudo dnf install etherwake -y;fi
|
|
|
clear
|
|
|
echo -e "$(tput setaf 10)Wake On Lan v1.0:$(tput sgr0)"
|
|
|
PS3="Select : "
|
|
@@ -204,8 +204,8 @@ items=("Nzxt" "Garage")
|
|
|
select item in "${items[@]}" Quit
|
|
|
do
|
|
|
case $REPLY in
|
|
|
- 1) sudo etherwake -i eno1 E0:D5:5E:2D:9E:CB ; break;;
|
|
|
- 2) sudo etherwake -i eno1 58:11:22:CD:FC:7A ; break;;
|
|
|
+ 1) sudo ether-wake -i eno1 E0:D5:5E:2D:9E:CB ; break;;
|
|
|
+ 2) sudo ether-wake -i eno1 58:11:22:CD:FC:7A ; break;;
|
|
|
$((${#items[@]}+1))) echo "We're done!"; break 2;;
|
|
|
*) echo "Ooops - unknown choice $REPLY"; break;
|
|
|
esac
|
|
@@ -229,7 +229,8 @@ miner_
|
|
|
config_
|
|
|
webmin_
|
|
|
|
|
|
+clear
|
|
|
echo -e "\n\n$(tput setaf 10)VNC password:$(tput sgr0)"
|
|
|
vncpasswd
|
|
|
|
|
|
-echo "Process finished !! happy plotting."
|
|
|
+echo -e "\nProcess finished !! \nhappy plotting."
|