summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/38disable_restricted_manager
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-11-11 17:55:40 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:03 +0100
commit2c649cf1f86f2030a213b9b0bfc1d1a1f0c14b2c (patch)
tree0e4ea69c4bc4acaf9f53b0e3f3907848a863d978 /scripts/live-bottom/38disable_restricted_manager
parent95cdfc252b7b9ee537bc2584717a25ff04971015 (diff)
downloadlive-boot-2c649cf1f86f2030a213b9b0bfc1d1a1f0c14b2c.tar.gz
live-boot-2c649cf1f86f2030a213b9b0bfc1d1a1f0c14b2c.zip
Merging casper 1.145.
Diffstat (limited to 'scripts/live-bottom/38disable_restricted_manager')
-rwxr-xr-xscripts/live-bottom/38disable_restricted_manager41
1 files changed, 0 insertions, 41 deletions
diff --git a/scripts/live-bottom/38disable_restricted_manager b/scripts/live-bottom/38disable_restricted_manager
deleted file mode 100755
index c2096ed..0000000
--- a/scripts/live-bottom/38disable_restricted_manager
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-PREREQ=""
-
-prereqs()
-{
- echo "$PREREQ"
-}
-
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-if [ -n "${NORESTRICTEDMANAGER}" ]
-then
- exit 0
-fi
-
-. /scripts/live-functions
-
-log_begin_msg "Disabling restricted-manager"
-
-rm -f /root/etc/xdg/autostart/restricted-manager.desktop
-rm -f /root/etc/xdg/autostart/restricted-manager-kde.desktop
-
-rm -f /root/etc/xdg/autostart/jockey*.desktop
-
-# Since we disable restricted-manager, there isn't much point generating the
-# fglrx or nvidia modules either. The other restricted modules may still be
-# useful.
-if [ -e /root/etc/default/linux-restricted-modules-common ]
-then
- sed -i 's/^DISABLED_MODULES=""/DISABLED_MODULES="fglrx nv"/' \
- /root/etc/default/linux-restricted-modules-common
-fi
-
-log_end_msg