fix cosmetic installation script issue

This commit is contained in:
morrownr 2022-07-05 11:19:16 -05:00
parent cc2bfc6fae
commit 8a3e881635
2 changed files with 8 additions and 8 deletions

View File

@ -5,7 +5,7 @@
# This version of the installation script does not use dkms. # This version of the installation script does not use dkms.
SCRIPT_NAME="install-driver-no-dkms.sh" SCRIPT_NAME="install-driver-no-dkms.sh"
SCRIPT_VERSION="20220419" SCRIPT_VERSION="20220705"
OPTIONS_FILE="88x2bu.conf" OPTIONS_FILE="88x2bu.conf"
# support for NoPrompt allows non-interactive use of this script # support for NoPrompt allows non-interactive use of this script
@ -38,13 +38,13 @@ fi
# information that helps with bug reports # information that helps with bug reports
# displays script name and version # displays script name and version
echo "Running ${SCRIPT_NAME} version ${SCRIPT_VERSION}" echo "Running ${SCRIPT_NAME} version ${SCRIPT_VERSION}"
# distro # distro (need to work on this)
hostnamectl | grep 'Operating System' | sed 's/ Operating System: //' #hostnamectl | grep 'Operating System' | sed 's/ Operating System: //'
# kernel # kernel
uname -r uname -r
# architecture - for ARM: aarch64 = 64 bit, armv7l = 32 bit # architecture - for ARM: aarch64 = 64 bit, armv7l = 32 bit
uname -m uname -m
# getconf LONG_BIT (need to work on this) #getconf LONG_BIT (need to work on this)
echo "Starting installation..." echo "Starting installation..."
echo "Copying ${OPTIONS_FILE} to: /etc/modprobe.d" echo "Copying ${OPTIONS_FILE} to: /etc/modprobe.d"

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
SCRIPT_NAME="install-driver.sh" SCRIPT_NAME="install-driver.sh"
SCRIPT_VERSION="20220108" SCRIPT_VERSION="20220705"
DRV_NAME="rtl88x2bu" DRV_NAME="rtl88x2bu"
DRV_VERSION="5.13.1" DRV_VERSION="5.13.1"
@ -51,13 +51,13 @@ fi
# information that helps with bug reports # information that helps with bug reports
# displays script name and version # displays script name and version
echo "Running ${SCRIPT_NAME} version ${SCRIPT_VERSION}" echo "Running ${SCRIPT_NAME} version ${SCRIPT_VERSION}"
# distro # distro (need to work on this)
hostnamectl | grep 'Operating System' | sed 's/ Operating System: //' #hostnamectl | grep 'Operating System' | sed 's/ Operating System: //'
# kernel # kernel
uname -r uname -r
# architecture - for ARM: aarch64 = 64 bit, armv7l = 32 bit # architecture - for ARM: aarch64 = 64 bit, armv7l = 32 bit
uname -m uname -m
# getconf LONG_BIT (need to work on this) #getconf LONG_BIT (need to work on this)
echo "Starting installation..." echo "Starting installation..."
# the add command requires source in /usr/src/${DRV_NAME}-${DRV_VERSION} # the add command requires source in /usr/src/${DRV_NAME}-${DRV_VERSION}