aboutsummaryrefslogtreecommitdiffstats
path: root/wireless-info
diff options
context:
space:
mode:
authorLibravatar Krytarik Raido <krytarik@tuxgarage.com>2016-05-24 22:04:04 +0200
committerLibravatar Krytarik Raido <krytarik@tuxgarage.com>2016-05-24 22:04:04 +0200
commit8e74e21c8663f28b6d343eaf92e424d0e00e21df (patch)
tree0b1cc33eff0001d4a65232fb8f566a51213dd424 /wireless-info
parent4faf33e831ac9de1d25fb2736e4d81bf0546b35f (diff)
downloadwireless-info-8e74e21c8663f28b6d343eaf92e424d0e00e21df.tar.bz2
wireless-info-8e74e21c8663f28b6d343eaf92e424d0e00e21df.tar.xz
wireless-info-8e74e21c8663f28b6d343eaf92e424d0e00e21df.tar.zst
Don't assume any relevant udev rule files are there anymore.
Diffstat (limited to 'wireless-info')
-rwxr-xr-xwireless-info4
1 files changed, 2 insertions, 2 deletions
diff --git a/wireless-info b/wireless-info
index c067259..4f75765 100755
--- a/wireless-info
+++ b/wireless-info
@@ -25,7 +25,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-SCRIPTDATE="2015-09-27 02:34 +0200"
+SCRIPTDATE="2016-05-24 22:04 +0200"
FILEBASE="wireless-info"
OUTPUTDIR="$PWD"
OUTPUTDIRFB="/tmp"
@@ -357,7 +357,7 @@ for PMUTILSFILE in $(find /etc/pm/*.d \( -type f -o -type l \) -regextype posix-
done
printf "\n##### udev rules ########################\n\n"
-for UDEVRLFILE in /etc/udev/rules.d/*net*.rules; do
+for UDEVRLFILE in $(find /etc/udev/rules.d -name "*net*.rules" | sort); do
UDEVRULES=$(grep -B1 '^[^#]' $UDEVRLFILE | egrep -v '^(--)?$')
if [ -n "$UDEVRULES" ]; then
printf "[%s]\n%s\n\n" "$UDEVRLFILE" "$UDEVRULES"