mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-27 07:41:28 -08:00
Yoni Rabkin <yoni at rabkins.net> (tiny change)
(iwconfig-program, iwconfig-program-options): New variables. (iwconfig): New function.
This commit is contained in:
parent
0329d8a3e8
commit
e69ec7213e
1 changed files with 20 additions and 0 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue