]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Setting proper shell at system screen
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 28 May 2013 13:29:20 +0000 (10:29 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 28 May 2013 13:29:20 +0000 (10:29 -0300)
files/etc/rc.local
templates/screen/screenrc.erb

index 79cd9b9b96d62c34db9e9e2a27fac4c58f74cb02..c8cefc233ad007986f6241043bbc2911df573ce4 100644 (file)
@@ -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
index c82fb2bb63453f97efe621a9edd3a52360017362..d76196291d7bdefd0ead703fbc42e8995b991a18 100644 (file)
@@ -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'