home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
boot
/
i386
/
root
/
usr
/
lib
/
YaST2
/
bin
/
create_udev_cdrom_rules
< prev
next >
Wrap
Text File
|
2006-11-29
|
293b
|
12 lines
#!/bin/bash
/usr/lib/YaST2/bin/y2base /usr/share/YaST2/clients/create_udev_cdrom.ycp ncurses
FILES=`hwinfo --cdrom 2>/dev/null | grep "SysFS ID:" | \
sed -e "s:^[^/]*::" -e "s:^:/sys:" -e "s:$:/uevent:"`
if [ -n "$FILES" ]
then
for i in $FILES
do
echo add > $FILES
done
fi