Skip to content

Commit

Permalink
Merge pull request #158 from Azure-Samples/ksub_fix_smbclientlogs
Browse files Browse the repository at this point in the history
Remove the cifs.ko check, don't clear dmesg
  • Loading branch information
ksub42 authored Jul 26, 2023
2 parents f04ae90 + 8acb160 commit 4702900
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions SMBDiagnostics/smbclientlogs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ am_i_root() {
main() {
am_i_root

local cifs_modcount=$(lsmod |egrep -c cifs)
if (( $cifs_modcount == 0 ));
then
echo "cifs.ko not loaded, exiting"
exit
fi

if [[ "$*" =~ "start" ]]
then
start "$@"
Expand Down Expand Up @@ -65,8 +58,6 @@ init() {
rm -rf "$DIRNAME"
fi
mkdir -p "$DIRNAME"

dmesg -Tc > /dev/null
}

check_utils() {
Expand Down

0 comments on commit 4702900

Please sign in to comment.