From 8598eb09637c23d2f21d4807d30c691b5cb17dbd Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Thu, 5 Feb 2015 22:35:49 +0000 Subject: drakedm: Don't run ancient dm init script (which no longer exists) --- perl-install/NEWS | 2 ++ perl-install/standalone/drakedm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 7db440399..f03596124 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- drakedm: Do not use ancient dm init script to restart DM + Version 16.53 - 6 February 2015 - switch from oxygen-gtk to Adwaita theme 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'); } } -- cgit v1.2.1