diff --git a/install-driver-no-dkms.sh b/install-driver-no-dkms.sh index 2ff761c..0704220 100755 --- a/install-driver-no-dkms.sh +++ b/install-driver-no-dkms.sh @@ -120,8 +120,6 @@ managed_file_installation() { # information that helps with bug reports -clear - # displays script name and version printf 'Running %s version %s\n' "${0##*/}" "$SCRIPT_VERSION" diff --git a/install-driver.sh b/install-driver.sh index d88cae6..a0e6944 100755 --- a/install-driver.sh +++ b/install-driver.sh @@ -127,8 +127,6 @@ managed_file_installation() { # information that helps with bug reports -clear - # displays script name and version printf 'Running %s version %s\n' "${0##*/}" "$SCRIPT_VERSION" diff --git a/remove-driver.sh b/remove-driver.sh index 7265fc3..1ef99ac 100755 --- a/remove-driver.sh +++ b/remove-driver.sh @@ -19,7 +19,6 @@ then exit 1 fi -clear printf 'Running %s version %s\n' "${0##*/}" "$SCRIPT_VERSION" # support for NoPrompt allows non-interactive use of this script diff --git a/start-mon.sh b/start-mon.sh index d5ab742..cf0d154 100755 --- a/start-mon.sh +++ b/start-mon.sh @@ -9,8 +9,6 @@ SCRIPT_VERSION=20220923 # There is no filename globbing in this script, so disable it to stop accidents set -f -clear - # Check that sudo was used to start the script if (( EUID != 0 )) then @@ -59,7 +57,6 @@ get_if_info() { print_if_info() { local iface=$1 m n - clear printf '\n --------------------------------\n' printf ' %-20s %s\n' "${0##*/}" "$SCRIPT_VERSION" printf ' --------------------------------\n' @@ -84,7 +81,6 @@ str_join() { local IFS="$2" ; printf -v "$1" %s "${*:3}" ; } # Set $iface0 down ip link set dev "$iface0" down || { - clear printf '\n ERROR: Please provide an existing interface as parameter!\n' printf ' Usage: $ sudo %s [interface:wlan0]\n' "$0" printf ' Tip: $ iw dev\n\n' @@ -128,7 +124,6 @@ then kill -STOP "${pids[@]}" - clear printf '\n The following processes have been stopped:\n\n' # ps -p takes a comma-separated list @@ -142,7 +137,6 @@ then printf ' to a normal state at the end of this script.\n\n' else - clear printf '\n There are no processes that need stopping.\n\n' fi