Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
Back to Ticket #600
Ticket #600
: testfordevdir.sh
File testfordevdir.sh,
248 bytes
(added by
victor gattegno
,
12 years ago
)
Line
1
#!/bin/sh
2
set
-xv
3
for
devdir
in
/etc/udev/devices /lib/udev/devices
;
do
4
[
-d
"
$devdir
"
]
||
continue
5
echo
$devdir
6
pushd
$devdir
7
set
*
8
if
[
"
$1
"
!
=
"*"
]
;
then
9
echo
boucle
if
$1
10
echo
$@
11
fi
12
done
13
echo
exit
Download in other formats:
Original Format