/lib/udev/js-acrux is in joystick 1:1.4.7-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/bin/sh -e
#
# udev script to keep Acrux gamepads alive
fix_in_kernel() {
local version
if [ "$1" ]; then
version="$1"
else
version="$(uname -r)"
fi
case "$version" in
2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;;
2.6.[12][0-9]|2.6.[12][0-9][!0-9]*) return 1 ;;
2.6.3[012345678]|2.6.3[012345678][!0-9]*) return 1 ;;
esac
return 0
}
(
fix_in_kernel || (while [ -c $1 ]; do sleep 3600 < $1; done)
) &
|