summaryrefslogtreecommitdiff
path: root/config/chroot_local-includes
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2010-09-05 13:21:31 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2010-09-05 13:21:31 +0200
commit13dcc597e4ac074638a281949038547d081a96c9 (patch)
tree0b36275738008d5d417f1c0321d4dc04d33de8b1 /config/chroot_local-includes
parentd267cca78f6419b3248d1647fc0bd0a1c5e4f203 (diff)
downloadkanotix-13dcc597e4ac074638a281949038547d081a96c9.zip
kanotix-13dcc597e4ac074638a281949038547d081a96c9.tar.gz
fixed typo and missing chmod +x
Diffstat (limited to 'config/chroot_local-includes')
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/901-hotfixes4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/chroot_local-includes/lib/live/config/901-hotfixes b/config/chroot_local-includes/lib/live/config/901-hotfixes
index 5a28eb4..2723ea6 100755
--- a/config/chroot_local-includes/lib/live/config/901-hotfixes
+++ b/config/chroot_local-includes/lib/live/config/901-hotfixes
@@ -6,12 +6,12 @@ if [ -n "${LIVE_TIMEZONE}" ]; then
fi
# dirty hack to prevent kdm's "abort active sessions" prompt on live system
-sudo -u "${LIVE_USERNAME}" sh -c "mkdir -p /home/${LIVE_USERNAME}/.kde/shutdown; cat > /home/${LIVE_USERNAME}/.kde/shutdown/kdm-force-shutdown-hack" << EOF
+sudo -u "${LIVE_USERNAME}" sh -c "mkdir -p /home/${LIVE_USERNAME}/.kde/shutdown; cat > /home/${LIVE_USERNAME}/.kde/shutdown/kdm-force-shutdown-hack" <<"EOF"
#!/bin/sh
# dirty hack to prevent kdm's "abort active sessions" prompt on live system
. /etc/default/distro
-[ "$FLL_DISTRO_MODE" = "live ] || exit # are we live?
+[ "$FLL_DISTRO_MODE" = "live" ] || exit # are we live?
# "destroy" utmp, so kdm won't recognize the running logins on the other TTYs
sudo perl -pi -e 's/tty/xty/g' /var/run/utmp