summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;