1
0
Fork 0

execfail on .profile fbterm exec

Otherwise, it is not possible to log into a shell (as that user, at least)
when exec fails!
org
Mike Gerwitz 2015-04-20 00:49:15 -04:00
parent 89a3cb55e6
commit cf3304a0ac
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
#!/bin/bash
# Executed on login (that is---a login shell)
#
# Copyright (C) 2013 Mike Gerwitz
# Copyright (C) 2013,2015 Mike Gerwitz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -22,6 +22,7 @@
# execute fbterm if logging on from a tty
if [ "$TERM" == linux ] && tty | grep -q /dev/tty; then
shopt -s execfail
which fbterm >/dev/null && exec fbterm
fi