diff options
-rw-r--r-- | config/live.cfg | 10 | ||||
-rwxr-xr-x | files/99dm-reload.xsetup | 8 |
2 files changed, 2 insertions, 16 deletions
diff --git a/config/live.cfg b/config/live.cfg index 94d9bd0..0bff65d 100644 --- a/config/live.cfg +++ b/config/live.cfg @@ -101,12 +101,6 @@ my $_l = { (map { [ 'files/draksnapshot.sysconfig', $_ . '/.draksnapshot', { mode => 0644, no_install => 1 } ] } @user_config_dirs), [ 'files/compute-ooo-dicts.pl', '/usr/sbin/compute-ooo-dicts.pl', { mode => 0755 } ], [ 'files/compute-i18n-list.pl', '/usr/sbin/compute-i18n-list.pl', { mode => 0755 } ], - # reload GDM to get correct locale - if_($live->{settings}{desktop} eq 'GNOME', - if_($live->{settings}{media} eq 'DVD', - [ 'files/99dm-reload.xsetup', '/etc/X11/xsetup.d/', { mode => 0755 } ], - ), - ), ], remove_files => [ (map { "/etc/modprobe.preload.d/$_" } qw(cpufreq pcmcia rfswitch)), @@ -202,8 +196,8 @@ my $_l = { "ak=/etc/draklive-install.d/run.d/restore-akonadi-config.sh; echo -e '#!/bin/sh\ncp /etc/akonadi/mysql-global-standard.conf /etc/akonadi/mysql-global.conf' > \$ak; chmod +x \$ak", ), if_($live->{settings}{desktop} eq 'GNOME', - # compile schema to get dralkive-install in menu - "glib-compile-schemas /usr/share/glib-2.0/schemas/", + # compile schema to get draklive-install in menu + "glib-compile-schemas /usr/share/glib-2.0/schemas/", ), # switch to NetworkManager diff --git a/files/99dm-reload.xsetup b/files/99dm-reload.xsetup deleted file mode 100755 index 40026e8..0000000 --- a/files/99dm-reload.xsetup +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -LOCK=/run/lock/reload-dm -if [ -f "$LOCK" ]; then - rm -f $LOCK - touch /etc/draklive-install.d/gnome-reboot - sleep 2 - /usr/bin/systemctl --no-block restart display-manager.service -fi |