diff options
author | Stefan Cristian B. <steven.darklight@gmail.com> | 2014-12-20 19:21:03 +0200 |
---|---|---|
committer | Stefan Cristian B. <steven.darklight@gmail.com> | 2014-12-20 19:21:03 +0200 |
commit | 5ce5d9dbce748716ef08288a0557a43b079d1fc0 (patch) | |
tree | db6b1283035d1cda34f36eb73e490fe3f1934798 /kogaion-functions.sh | |
parent | dacc0bfae08c88125035f08cd136641eee95137f (diff) | |
parent | d28ec089f44788737adca93890d603d2bcb3c2eb (diff) |
Merge pull request #1 from V3n3RiX/master
drop any openrc reference
Diffstat (limited to 'kogaion-functions.sh')
-rw-r--r-- | kogaion-functions.sh | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/kogaion-functions.sh b/kogaion-functions.sh index 6229b6f..586c02d 100644 --- a/kogaion-functions.sh +++ b/kogaion-functions.sh @@ -128,11 +128,7 @@ kogaion_setup_motd() { } kogaion_setup_vt_autologin() { - if openrc_running; then - . /sbin/livecd-functions.sh - export CDBOOT=1 - livecd_fix_inittab - elif systemd_running; then + if systemd_running; then cp /usr/lib/systemd/system/getty@.service \ /etc/systemd/system/autologin@.service sed -i "/^ExecStart=/ s:/sbin/agetty:/sbin/agetty --autologin root:g" \ @@ -220,13 +216,6 @@ kogaion_fixup_gnome_autologin_session() { } kogaion_setup_text_installer() { - if openrc_running; then - # switch to verbose mode - splash_manager -c set -t default -m v &> /dev/null - reset - chvt 1 - clear - fi kogaion_setup_text_installer_motd } @@ -278,7 +267,3 @@ kogaion_is_normal_boot() { systemd_running() { test -d /run/systemd/system } - -openrc_running() { - test -e /run/openrc/softlevel -} |