diff --git a/profile b/profile index c71bfbd..99f5316 100644 --- a/profile +++ b/profile @@ -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