2
# source debconf library
3
#export DEBCONF_DEBUG=developer
4
. /usr/share/debconf/confmodule
6
if [ "$1" = "configure" ] ; then
7
db_get joystick/createdevs
8
if [ "$RET" = "true" ]; then
9
(cd /dev; /sbin/MAKEDEV js)
11
db_get joystick/nodecheck-types
15
update-rc.d joystick start 19 2 . >/dev/null 2>&1 || true
18
# remove rc links, keep the script
19
update-rc.d -f joystick remove . >/dev/null 2>&1 || true
20
joystick-device-check || true