summaryrefslogtreecommitdiff
path: root/community/systemd/systemd.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/systemd/systemd.install')
-rw-r--r--community/systemd/systemd.install11
1 files changed, 0 insertions, 11 deletions
diff --git a/community/systemd/systemd.install b/community/systemd/systemd.install
index 0c75c4b27..33d597bf1 100644
--- a/community/systemd/systemd.install
+++ b/community/systemd/systemd.install
@@ -9,17 +9,6 @@ post_install() {
[ -f /etc/machine-id ] || /bin/systemd-machine-id-setup
- # Try to read default runlevel from the old inittab if it exists
- runlevel=$(/bin/awk -F':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null)
- if [ -z "$runlevel" ]; then
- target="/lib/systemd/system/graphical.target"
- else
- target="/lib/systemd/system/runlevel$runlevel.target"
- fi
-
- # And symlink what we found to the new-style default.target
- /bin/ln -sf "$target" /etc/systemd/system/default.target
-
echo "systemd has been installed to /bin/systemd. Please ensure you append"
echo "init=/bin/systemd to your kernel command line in your bootloader."
}