Resync with Debian's 1.139.1-4 version
[live-initramfs-grml.git] / scripts / live-bottom / 38jockey_disable_check
1 #!/bin/sh
2
3 PREREQ=""
4
5 prereqs()
6 {
7        echo "$PREREQ"
8 }
9
10 case $1 in
11 # get pre-requisites
12 prereqs)
13        prereqs
14        exit 0
15        ;;
16 esac
17
18 if [ -n "${NOJOCKEY}" ]
19 then
20         exit 0
21 fi
22
23 . /scripts/live-functions
24
25 log_begin_msg "Disabling jockey driver check"
26
27 rm -f /root/etc/xdg/autostart/jockey*.desktop
28
29 log_end_msg