diff options
author | Juan RP <xtraeme@voidlinux.eu> | 2015-05-25 09:22:27 +0200 |
---|---|---|
committer | Juan RP <xtraeme@voidlinux.eu> | 2015-05-25 09:22:27 +0200 |
commit | b1e2685aef3e3b4656faf76fe9ba07f22239fee3 (patch) | |
tree | 56585bf64b948a1079622ad6ed73458e7515b908 | |
parent | af2fcf925a0ddd0f43cc6ede164369117cacd928 (diff) | |
download | hrmpf-b1e2685aef3e3b4656faf76fe9ba07f22239fee3.tar.gz hrmpf-b1e2685aef3e3b4656faf76fe9ba07f22239fee3.tar.xz hrmpf-b1e2685aef3e3b4656faf76fe9ba07f22239fee3.zip |
dracut/display-manager-autologin: autologin to i3 if found.
-rw-r--r-- | dracut/display-manager-autologin.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dracut/display-manager-autologin.sh b/dracut/display-manager-autologin.sh index 9357c9d..80bc0d5 100644 --- a/dracut/display-manager-autologin.sh +++ b/dracut/display-manager-autologin.sh @@ -46,5 +46,7 @@ if [ -r ${NEWROOT}/etc/lxdm/lxdm.conf ]; then sed -e "s,.*session.*=.*,session=/usr/bin/mate-session," -i ${NEWROOT}/etc/lxdm/lxdm.conf elif [ -x ${NEWROOT}/usr/bin/cinnamon-session ]; then sed -e "s,.*session.*=.*,session=/usr/bin/cinnamon-session," -i ${NEWROOT}/etc/lxdm/lxdm.conf + elif [ -x ${NEWROOT}/usr/bin/i3 ]; then + sed -e "s,.*session.*=.*,session=/usr/bin/i3," -i ${NEWROOT}/etc/lxdm/lxdm.conf fi fi |