23 |
or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!"; |
or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!"; |
24 |
} |
} |
25 |
} |
} |
26 |
+my $unit="bootstrap-console.service"; |
+$unit="bootstrap-console.service"; |
27 |
+my $target="basic"; |
+$target="basic"; |
28 |
+symlink("../$unit", |
+symlink("../$unit", |
29 |
+ "root/usr/lib/systemd/system/$target.target.wants/$unit") |
+ "root/usr/lib/systemd/system/$target.target.wants/$unit") |
30 |
+ or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!"; |
+ or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!"; |