vp-build/templates/udev/files/ignore-remove.sh
Juan RP db5b069a23 udev: use a patch from Archlinux to fix some perms, bump revision.
--HG--
extra : convert_revision : ac87852e1adb89dbda9bd549f0337a95f2c3508b
2009-04-02 04:38:45 +02:00

14 lines
156 B
Bash

#!/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