Browse Source

update webmin

wareck 1 year ago
parent
commit
9cabb8c170
2 changed files with 7 additions and 3 deletions
  1. 3 3
      build_cube.sh
  2. 4 0
      options/download_pack.sh

+ 3 - 3
build_cube.sh

@@ -3,7 +3,7 @@ set -e
 Version=15.1
 Version=15.1
 Cuda=NO
 Cuda=NO
 kernel_custom=YES
 kernel_custom=YES
-Webmin="webmin-2.021"
+Webmin="webmin-2.100"
 kernel_dkms="5.15.0-71-generic"
 kernel_dkms="5.15.0-71-generic"
 if (( $EUID != 0 )); then
 if (( $EUID != 0 )); then
    echo -e "$(tput setaf 11)This must be run as root. Try 'sudo $0'.$(tput sgr0)"
    echo -e "$(tput setaf 11)This must be run as root. Try 'sudo $0'.$(tput sgr0)"
@@ -103,7 +103,7 @@ case $kernel_custom in
 NO)
 NO)
         if [[ "$unamestr" == '5.15.0-69-generic' ]]
         if [[ "$unamestr" == '5.15.0-69-generic' ]]
         then
         then
-        echo -e "$(tput setaf 10)DKMS Kernel install :$(tput sgr0)"
+        echo -e "\n$(tput setaf 10)DKMS Kernel install :$(tput sgr0)"
         sudo rm /boot/config-5.15*
         sudo rm /boot/config-5.15*
         sudo rm /boot/initrd.img-5.15*
         sudo rm /boot/initrd.img-5.15*
         sudo rm /boot/System.map-5.15*
         sudo rm /boot/System.map-5.15*
@@ -132,7 +132,7 @@ YES)
         source /tmp/ksource.txt
         source /tmp/ksource.txt
         if ! [[ "$unamestr" == $KLversion ]]
         if ! [[ "$unamestr" == $KLversion ]]
         then
         then
-        echo -e "$(tput setaf 10)Custom kernel install $(tput setaf 9)$KLversion$(tput setaf 10) (fix DKMS/WOL) :$(tput sgr0)"
+        echo -e "\n$(tput setaf 10)Custom kernel install $(tput setaf 9)$KLversion$(tput setaf 10) (fix DKMS/WOL) :$(tput sgr0)"
         cd /tmp/
         cd /tmp/
 	wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/custom_kernel/$kernel_version
 	wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/custom_kernel/$kernel_version
         #wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/custom_kernel/$KHeader
         #wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/custom_kernel/$KHeader

+ 4 - 0
options/download_pack.sh

@@ -14,8 +14,12 @@ fi
 if grep "Cuda=Yes" /home/wareck/Build_Cube/build_cube.sh >/dev/null
 if grep "Cuda=Yes" /home/wareck/Build_Cube/build_cube.sh >/dev/null
 then
 then
 Cuda="YES"
 Cuda="YES"
+else
+Cuda="No"
 fi
 fi
 
 
+
+
 function download_copy {
 function download_copy {
 FILE=/home/wareck/Build_Cube/pack/$box
 FILE=/home/wareck/Build_Cube/pack/$box
 if [ ! -f "$FILE" ]; then
 if [ ! -f "$FILE" ]; then