diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-28 10:29:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-28 10:29:20 -0300 |
commit | 875a16b81f5b8bc26d87884e75b11b54289fdab3 (patch) | |
tree | a65fe6aa4084fd55fe3cb82f349b59967c1c9dc2 | |
parent | 4a3831fa8859acfde841f61328817758426584bb (diff) | |
download | puppet-nodo-875a16b81f5b8bc26d87884e75b11b54289fdab3.tar.gz puppet-nodo-875a16b81f5b8bc26d87884e75b11b54289fdab3.tar.bz2 |
Setting proper shell at system screen
-rw-r--r-- | files/etc/rc.local | 2 | ||||
-rw-r--r-- | templates/screen/screenrc.erb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/files/etc/rc.local b/files/etc/rc.local index 79cd9b9..c8cefc2 100644 --- a/files/etc/rc.local +++ b/files/etc/rc.local @@ -37,7 +37,7 @@ fi # Start system-wide screen session if [ -f "/etc/screenrc.startup" ]; then - /bin/bash -c /usr/bin/screen -d -m -S root -c /etc/screenrc.startup + /usr/bin/screen -d -m -S root -c /etc/screenrc.startup fi # Then exit diff --git a/templates/screen/screenrc.erb b/templates/screen/screenrc.erb index c82fb2b..d761962 100644 --- a/templates/screen/screenrc.erb +++ b/templates/screen/screenrc.erb @@ -19,6 +19,7 @@ pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." # make the shell in every window a login shell #shell -$SHELL +shell /bin/bash # autoaka testing # shellaka '$ |sh' |