diff options
author | Colin Guthrie <colin@mageia.org> | 2015-02-05 22:35:49 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2015-02-08 14:26:38 +0000 |
commit | 8598eb09637c23d2f21d4807d30c691b5cb17dbd (patch) | |
tree | 9581dd34117a02a22f3e699be358068b049e0310 /perl-install/standalone/drakedm | |
parent | 18b6595f1f1fb9ca9d5c32fb21a8ce3671fdd0e9 (diff) | |
download | drakx-8598eb09637c23d2f21d4807d30c691b5cb17dbd.tar drakx-8598eb09637c23d2f21d4807d30c691b5cb17dbd.tar.gz drakx-8598eb09637c23d2f21d4807d30c691b5cb17dbd.tar.bz2 drakx-8598eb09637c23d2f21d4807d30c691b5cb17dbd.tar.xz drakx-8598eb09637c23d2f21d4807d30c691b5cb17dbd.zip |
drakedm: Don't run ancient dm init script (which no longer exists)
Diffstat (limited to 'perl-install/standalone/drakedm')
-rwxr-xr-x | perl-install/standalone/drakedm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakedm b/perl-install/standalone/drakedm index 687846932..5bb5beb15 100755 --- a/perl-install/standalone/drakedm +++ b/perl-install/standalone/drakedm @@ -73,7 +73,7 @@ several different X sessions on your local machine at the same time.")), if (any::running_window_manager()) { $in->ask_yesorno('', N("The change is done, do you want to restart the dm service?"), 1) and $in->ask_yesorno('', N("You are going to close all running programs and lose your current session. Are you really sure that you want to restart the dm service?"), 1) and - run_program::raw({ detach => 1 }, '/etc/rc.d/init.d/dm', '>', '/dev/null', '2>', '/dev/null', 'restart'); + run_program::raw({ detach => 1 }, 'systemctl', 'restart', 'display-manager.service', '>', '/dev/null', '2>', '/dev/null'); } } |