#!/bin/sh ########################################################################### # # Copyright (c) 2023-2023 Diality Inc. - All Rights Reserved. # # THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN # WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. # # @file wifi_read_network_info.sh # # @author (last) Vy # @date (last) 16-May-2023 # @author (original) Vy # @date (original) 16-May-2023 # ############################################################################ if [ $# -eq 0 ]; then currentFile=$(basename "$0") echo "Usage: ./$currentFile " exit 0 fi iface=$1 sudo iwconfig wlan0