summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2011-11-07 11:38:18 +0000
committerColin Guthrie <colin@mageia.org>2011-11-07 11:38:18 +0000
commite820fa42bba5cf9932fc64261ebfdc4adf57ccd3 (patch)
treedd84e4fab2f4b2368210dd5782adefcd53936d3e
parent84c677f03575913899765fc316bfd71e4fb36ede (diff)
downloaddrakx-kbd-mouse-x11-e820fa42bba5cf9932fc64261ebfdc4adf57ccd3.tar
drakx-kbd-mouse-x11-e820fa42bba5cf9932fc64261ebfdc4adf57ccd3.tar.gz
drakx-kbd-mouse-x11-e820fa42bba5cf9932fc64261ebfdc4adf57ccd3.tar.bz2
drakx-kbd-mouse-x11-e820fa42bba5cf9932fc64261ebfdc4adf57ccd3.tar.xz
drakx-kbd-mouse-x11-e820fa42bba5cf9932fc64261ebfdc4adf57ccd3.zip
Use the actual variable defined + update NEWS
-rw-r--r--NEWS2
-rw-r--r--lib/Xconfig/various.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 98d019a..02cbb21 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,8 @@
on systems without xorg.conf if the presence of other files indicates
that this is not a live cd boot before automatic X.org configuration
(fixes radeon KMS without xorg.conf)
+- runlevel: Ensure that systemd targets corresponding to the required
+ runlevel are also updated (in addition to inittab).
Version 0.97 - 14 May 2011
diff --git a/lib/Xconfig/various.pm b/lib/Xconfig/various.pm
index 32db2fa..d2eb74e 100644
--- a/lib/Xconfig/various.pm
+++ b/lib/Xconfig/various.pm
@@ -231,7 +231,7 @@ sub runlevel {
if (!$::testing && -f $t) {
my $d = "$::prefix/etc/systemd/system/default.target";
unlink($d);
- symlink($t, "$::prefix/etc/systemd/system/default.target");
+ symlink($t, $d);
}
} else {
cat_($f) =~ /^id:(\d):initdefault:\s*$/m && $1;