Skip to content

Commit

Permalink
Remove debug setting from script.
Browse files Browse the repository at this point in the history
  • Loading branch information
abeltrano committed Nov 28, 2023
1 parent c127417 commit c2d245a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .docker/netremote-dev/build-mac80211_hwsim-kmod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

set -euxo pipefail

DEBUG=1

# Determine active kernel version number.
KERNEL_VERSION=`uname -r | grep -Eo '([0-9]+)*(\.?[0-9]+)*' | head -1`

Expand Down Expand Up @@ -32,6 +30,7 @@ WSL_KERNEL_COMPILE_ARG_PARALLEL="-j $(expr $(nproc) - 1)"
# Mostly used for testing.
WGET_XTRA_ARGS=

# Print debug information if DEBUG is set to 1.
if [[ $DEBUG -eq 1 ]]; then
echo "DEBUG: KERNEL_VERSION=${KERNEL_VERSION}"
echo "DEBUG: KERNEL_FILE_NAME=${KERNEL_FILE_NAME}"
Expand Down Expand Up @@ -89,7 +88,4 @@ make modules ${WSL_KERNEL_COMPILE_ARG_PARALLEL}
echo "Installing kernel modules..."
sudo make modules_install

echo "Loading new kernel modules..."
sudo depmod -a

echo "Done."

0 comments on commit c2d245a

Please sign in to comment.