summaryrefslogtreecommitdiff
path: root/scripts/live-bottom
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-01 12:54:56 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:09 +0100
commitd00704447a2f95f49a06925d40576522ffbfe850 (patch)
tree7fed8d6cc23fb804ba393aac2c5237b0c0c765fe /scripts/live-bottom
parent1bad81c0450e84a94dc1d5f4ead9886f15749b80 (diff)
downloadlive-boot-d00704447a2f95f49a06925d40576522ffbfe850.tar.gz
live-boot-d00704447a2f95f49a06925d40576522ffbfe850.zip
Merging casper 1.212.
Diffstat (limited to 'scripts/live-bottom')
-rwxr-xr-xscripts/live-bottom/15autologin2
-rwxr-xr-xscripts/live-bottom/42disable_apparmor39
2 files changed, 1 insertions, 40 deletions
diff --git a/scripts/live-bottom/15autologin b/scripts/live-bottom/15autologin
index 2758c95..143e9f4 100755
--- a/scripts/live-bottom/15autologin
+++ b/scripts/live-bottom/15autologin
@@ -72,7 +72,7 @@ TimedLoginDelay=10"
then
sed -i "s/\[daemon\]/\[daemon\]\n$AutologinParameters/" $GDMCustomFile
else
- echo -e "[daemon]\n$AutologinParameters" >> $GDMCustomFile
+ printf '[daemon]\n%s' "$AutologinParameters" >> $GDMCustomFile
fi
fi
fi
diff --git a/scripts/live-bottom/42disable_apparmor b/scripts/live-bottom/42disable_apparmor
deleted file mode 100755
index f87cab4..0000000
--- a/scripts/live-bottom/42disable_apparmor
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-#set -e
-
-# initramfs-tools header
-
-PREREQ=""
-
-prereqs()
-{
- echo "${PREREQ}"
-}
-
-case "${1}" in
- prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-# live-initramfs header
-
-if [ -n "${NOAPPARMOR}" ]
-then
- exit 0
-fi
-
-. /scripts/live-functions
-
-log_begin_msg "Disabling AppArmor (does not work with stacked file systems)"
-
-# live-initramfs script
-
-if [ -x /root/etc/init.d/apparmor ]
-then
- chroot /root update-rc.d -f apparmor remove
-fi
-
-log_end_msg