summaryrefslogtreecommitdiff
path: root/community/systemd/systemd.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-30 22:33:37 +0000
committerroot <root@rshg047.dnsready.net>2011-04-30 22:33:37 +0000
commitc173ac862828a54925737fc1d90ede1dd09a312c (patch)
tree63d6b46455a4abdaf96aef59bbaa4406c6fe04f8 /community/systemd/systemd.install
parent693b5793b8c615601135bc04216a2ca0966087c5 (diff)
Sat Apr 30 22:33:37 UTC 2011
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."
}