check-leftover-udev-rules.sh 187 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash

ls /run/udev/rules.d/*litest*.rules 2>/dev/null
if [[ $? -eq 0 ]]; then
	exit 1
fi

ls /etc/udev/hwdb.d/*litest*REMOVEME*.hwdb 2>/dev/null
if [[ $? -eq 0 ]]; then
	exit 1
fi