Commit e69ec721 authored by Glenn Morris's avatar Glenn Morris
Browse files

Yoni Rabkin <yoni at rabkins.net> (tiny change)

(iwconfig-program, iwconfig-program-options): New variables.
(iwconfig): New function.
parent 0329d8a3
......@@ -109,6 +109,16 @@ These options can be used to limit how many ICMP packets are emitted."
:group 'net-utils
:type '(repeat string))
(defcustom iwconfig-program "iwconfig"
"Program to print wireless network configuration information."
:group 'net-utils
:type 'string)
(defcustom iwconfig-program-options nil
"Options for `iwconfig-program'."
:group 'net-utils
:type '(repeat string))
(defcustom netstat-program "netstat"
"Program to print network statistics."
:group 'net-utils
......@@ -365,6 +375,16 @@ If your system's ping continues until interrupted, you can try setting
;;;###autoload
(defalias 'ifconfig 'ipconfig)
;;;###autoload
(defun iwconfig ()
"Run iwconfig program."
(interactive)
(net-utils-run-program
"Iwconfig"
(concat "** Iwconfig ** " iwconfig-program " ** ")
iwconfig-program
iwconfig-program-options))
;;;###autoload
(defun netstat ()
"Run netstat program."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment