Root/tweaks/etc/profile

Source at commit ac84168269f754c560d231d13ba0849862628fe7 created 12 years 26 days ago.
By Freemor, ben-time-set.sh finally close to done.. needs real world Added Tweaks dir - modified /etc/profile - New /etc/banner with ben name and Qi logo
1#!/bin/sh
2setfont /usr/share/kbd/consolefonts/kernel-6x11-font
3[ -f /etc/banner ] && cat /etc/banner
4
5export PATH=/bin:/sbin:/usr/bin:/usr/sbin
6export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
7export HOME=${HOME:-/root}
8export PS1='\u@\h:\w\$ '
9
10[ -x /bin/more ] || alias more=less
11[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
12
13[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
14
15[ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
16[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
17
18setfont /usr/share/kbd/consolefonts/kernel-6x11-font
19

Archive Download this file

Branches:
master



interactive