diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2010-09-05 13:21:31 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2010-09-05 13:21:31 +0200 |
commit | 13dcc597e4ac074638a281949038547d081a96c9 (patch) | |
tree | 0b36275738008d5d417f1c0321d4dc04d33de8b1 /config/chroot_local-includes/lib/live | |
parent | d267cca78f6419b3248d1647fc0bd0a1c5e4f203 (diff) | |
download | kanotix-13dcc597e4ac074638a281949038547d081a96c9.zip kanotix-13dcc597e4ac074638a281949038547d081a96c9.tar.gz |
fixed typo and missing chmod +x
Diffstat (limited to 'config/chroot_local-includes/lib/live')
-rwxr-xr-x | config/chroot_local-includes/lib/live/config/901-hotfixes | 4 |
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 |