Set default cow_mountopt where the other defaults are used.
[live-boot-grml.git] / scripts / live-bottom / 38disable_restricted_manager
index 6bc9cb8..f54d092 100755 (executable)
@@ -2,8 +2,6 @@
 
 PREREQ=""
 
-. /scripts/live-functions
-
 prereqs()
 {
        echo "$PREREQ"
@@ -22,6 +20,8 @@ then
        exit 0
 fi
 
+. /scripts/live-functions
+
 log_begin_msg "Disabling restricted-manager..."
 
 rm -f /root/etc/xdg/autostart/restricted-manager.desktop
@@ -31,6 +31,6 @@ rm -f /root/etc/xdg/autostart/restricted-manager-kde.desktop
 # fglrx or nvidia modules either. The other restricted modules may still be
 # useful.
 sed -i 's/^DISABLED_MODULES=""/DISABLED_MODULES="fglrx nv"/' \
-       /root/etc/default/linux-restricted-modules-common
+       /root/etc/default/linux-restricted-modules-common
 
 log_end_msg