Index: scripts/airmon-ng
===================================================================
--- scripts/airmon-ng	(revision 1623)
+++ scripts/airmon-ng	(working copy)
@@ -17,10 +17,8 @@
 	USE_IW=1
 fi
 
-if [ "x$MON_PREFIX"="x" ]
-then
-MON_PREFIX="mon"
-fi
+# allow prefix to be overridden by environment variable
+MON_PREFIX=${MON_PREFIX:-"mon"}
 
 PROCESSES="wpa_action\|wpa_supplicant\|wpa_cli\|dhclient\|ifplugd\|dhcdbd\|dhcpcd\|NetworkManager\|knetworkmanager\|avahi-autoipd\|avahi-daemon\|wlassistant\|wifibox"
 PS_ERROR="invalid"
Index: manpages/airmon-ng.1
===================================================================
--- manpages/airmon-ng.1	(revision 1623)
+++ manpages/airmon-ng.1	(working copy)
@@ -21,6 +21,11 @@
 .TP
 .I check [kill]
 List all possible programs that could interfere with the wireless card. If 'kill' is specified, it will try to kill all of them.
+.SH ENVIRONMENT VARIABLES
+.PP
+.TP
+.I MON_PREFIX
+Monitor interfaces will normally be created with the prefix 'mon', resulting in 'mon0', 'mon1', etc.. MON_PREFIX can be set to specify a custom prefix value.
 .SH AUTHOR
 This manual page was written by Adam Cecile <gandalf@le-vert.net> for the Debian system (but may be used by others).
 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation
