udev: use a patch from Archlinux to fix some perms, bump revision.
--HG-- extra : convert_revision : ac87852e1adb89dbda9bd549f0337a95f2c3508b
This commit is contained in:
13
templates/udev/files/ignore-remove.sh
Normal file
13
templates/udev/files/ignore-remove.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for f in ${DEVNAME} ${DEVLINKS}; do
|
||||
if [ -e "/lib/udev/devices/${f#$1}" ]; then
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
|
||||
exit 1
|
||||
Reference in New Issue
Block a user