|
@@ -59,16 +59,21 @@ NO)
|
|
|
fi
|
|
|
;;
|
|
|
YES)
|
|
|
- if ! [[ "$unamestr" == '5.15.106-custom' ]]
|
|
|
+ wget -c -q http://192.168.1.8:3000/wareck/custom_kernel/raw/master/ksource.txt -O /tmp/ksource.txt
|
|
|
+ source /tmp/ksource.txt
|
|
|
+
|
|
|
+ if ! [[ "$unamestr" == $KLversion ]]
|
|
|
then
|
|
|
- echo -e "$(tput setaf 7)Custom kernel install (fixed DKMS and WOL) :$(tput setaf 7)"
|
|
|
+ echo -e "$(tput setaf 7)Custom kernel install $Kversion(fixed DKMS and WOL) :$(tput setaf 7)"
|
|
|
cd /tmp/
|
|
|
- wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/custom_kernel.tar.xz
|
|
|
- tar xvfJ custom_kernel.tar.xz
|
|
|
- cd /tmp/custom_kernel
|
|
|
- sudo dpkg -i linux-libc-dev_5.15.106-custom-1_amd64.deb
|
|
|
- sudo dpkg -i linux-headers-5.15.106-custom_5.15.106-custom-1_amd64.deb
|
|
|
- sudo dpkg -i linux-image-5.15.106-custom_5.15.106-custom-1_amd64.deb
|
|
|
+ #wget -c -q --show-progress http://folivier.homelinux.org/cube/pack/custom_kernel.tar.xz
|
|
|
+ wget -c -q --show-progress http://192.168.1.8:3000/wareck/custom_kernel/raw/master/$KHeader
|
|
|
+ wget -c -q --show-progress http://192.168.1.8:3000/wareck/custom_kernel/raw/master/$KImage
|
|
|
+ wget -c -q --show-progress http://192.168.1.8:3000/wareck/custom_kernel/raw/master/$KLibc
|
|
|
+
|
|
|
+ sudo dpkg -i $KLibc
|
|
|
+ sudo dpkg -i $KHeader
|
|
|
+ sudo dpkg -i $KImage
|
|
|
autoroot_
|
|
|
decompte_
|
|
|
fi
|