![]() #Restore original directory cd $workdir echo echo -Įcho Creating symbolic link for Modules.Įcho -n "checking for /usr/src/linux-`uname -r | cut -d-f1,2` directory. Kernel_flavor = $(uname -r | cut -d-f3 ) kernel_number = $(uname -r | cut -d-f1,2 ) kernel_version = $(zypper se -s kernel- $ echo fi done IFS = $OLDIFS echo echo -Įcho Prepare sources for building firmware module.Ĭd /usr/src/linux- `uname -r | cut -d-f 1,2 ` " if then echo noįi cd $srcPath workdir = "`pwd`" echo echo. Read -s -n 1 -p "Press any key to begin installation." echo echo -n "checking for /usr/src directory. Q ) exit 0 esac done srcPath = "/usr/src" xf86_input_wacom = "xf86-input-wacom" linuxwacom = "linuxwacom" xorg_macros = "xorg-macros" echo echo -Įcho Please make sure that your tablet is not connected!Įcho. Xf86_input_wacom_install = false linuxwacom_install = false case " $ans " in 1 ) xf86_input_wacom_install = true ans_valid =true 2 ) linuxwacom_install = true ans_valid =true 3 ) xf86_input_wacom_install = true linuxwacom_install = true ans_valid =true " echo "-" echo echo "Please choose items to install:" echo "1) xf86-input-wacom" echo "2) linuxwacom" echo "3) all - Choose all if you are not sure." echo "q) quit" echo read -p "Option: " ans Proceed with caution, and although damage to " echo " your system is highly unlikely, the author(s) do not take any " echo " responsibility for damage or loss caused by errors in this script. There may be errors and inaccuracies in this script that could lead " echo " to damage to your system. ![]() Use the script at your own " echo " risk. if then echo "Please run this script as root." exit fi ans_valid = false while ! $ans_valid doĮcho "-" echo " Disclamer of Warranty: " echo echo " No liability for this script can be accepted. Outfile = "`pwd`/linuxwacom_error.log" xorg_ver = $(X -version 2> & 1 | grep X.Org | cut -d ' ' -f4 ) # Make sure the script is run as root.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |