2005-02-06 00:52:16 +00:00
|
|
|
#!/bin/sh
|
|
|
|
[ -f /etc/banner ] && cat /etc/banner
|
2005-01-16 11:43:02 +00:00
|
|
|
|
2005-02-06 00:52:16 +00:00
|
|
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
2007-04-30 11:11:05 +00:00
|
|
|
export HOME=/tmp
|
2005-02-06 00:52:16 +00:00
|
|
|
export PS1='\u@\h:\w\$ '
|
2005-01-16 11:43:02 +00:00
|
|
|
|
2006-09-07 17:40:28 +00:00
|
|
|
alias more=less
|
2006-04-10 21:54:19 +00:00
|
|
|
[ -x /usr/bin/vim ] || alias vim=vi
|
2005-04-17 22:38:25 +00:00
|
|
|
|
2007-03-24 21:51:44 +00:00
|
|
|
[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
|
|
|
|
|
2005-04-17 22:38:25 +00:00
|
|
|
arp() { cat /proc/net/arp; }
|
2007-04-03 22:50:27 +00:00
|
|
|
[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
|
2005-10-22 20:47:19 +00:00
|
|
|
reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }
|