diff options
Diffstat (limited to 'config')
-rwxr-xr-x[-rw-r--r--] | config/chroot_local-hooks/sources.list-format | 0 | ||||
-rwxr-xr-x | config/chroot_local-includes/lib/live/config/901-hotfixes | 4 |
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 |