summaryrefslogtreecommitdiff
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
parentd267cca78f6419b3248d1647fc0bd0a1c5e4f203 (diff)
downloadkanotix-13dcc597e4ac074638a281949038547d081a96c9.zip
kanotix-13dcc597e4ac074638a281949038547d081a96c9.tar.gz
fixed typo and missing chmod +x
-rwxr-xr-x[-rw-r--r--]config/chroot_local-hooks/sources.list-format0
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/901-hotfixes4
2 files changed, 2 insertions, 2 deletions
diff --git a/config/chroot_local-hooks/sources.list-format b/config/chroot_local-hooks/sources.list-format
index 7fcf14e..7fcf14e 100644..100755
--- a/config/chroot_local-hooks/sources.list-format
+++ b/config/chroot_local-hooks/sources.list-format
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