File: 33disable_binary_drivers

package info (click to toggle)
casper 1.77%2Bdebian-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 364 kB
  • ctags: 145
  • sloc: sh: 1,835; ansic: 467; makefile: 76; python: 43
file content (27 lines) | stat: -rwxr-xr-x 420 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /bin/sh

PREREQ=""
DESCRIPTION="Configuring some drivers..."

. /scripts/casper-functions

prereqs()
{
       echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
       prereqs
       exit 0
       ;;
esac

log_begin_msg "$DESCRIPTION"

if [ -e /root/etc/default/linux-restricted-modules-common ]; then
    echo 'DISABLED_MODULES="fglrx nv"' >> /root/etc/default/linux-restricted-modules-common
fi

log_end_msg