Changes

Jump to: navigation, search

User:Pnoecker/1dollartip

445 bytes removed, 2 months ago
Make script bashlogin: remove messages that wont exist, make script readable.
{{file|name=/bin/bashlogin|body=
#!/bin/sh
# ============ ENV VARS ================================
cd /root
export LANG=en_US.UTF-8
source /etc/profile
# ============ PRINT MESSAGE ===========================
lc1='\e[01;31m' # light red
dc1='\e[00;31m' # dark red
lc2='\e[01;37m' # white
dc2='\e[00;37m' # gray
 
# fix broken console with utf8 in the alternative-kernels
echo -n -e '\033%G'
kbd_mode -u
 
LINES=$(stty size{{!}}cut -d" " -f1)
fbecho()
{
[ $LINES -ge 28 ] && echo
}
 
# ============ SHELL PROMPT ============================
exec $SHELL --login
}}
649
edits

Navigation menu