summaryrefslogtreecommitdiff
path: root/kogaion-functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kogaion-functions.sh')
-rw-r--r--kogaion-functions.sh17
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
-}