~ubuntu-branches/ubuntu/breezy/joystick/breezy

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e

# source debconf library
. /usr/share/debconf/confmodule

# ask about device creation if needed
if [ ! -c /dev/js0 -a ! -e /dev/.devfsd ] ; then
   db_input high joystick/createdevs || true
else
   db_set joystick/createdevs false || true
fi

# ask about autocheck
db_input high joystick/nodecheck-types || true

# go, go, go! :)
db_go