mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
13 lines
295 B
Bash
13 lines
295 B
Bash
#!/bin/sh
|
|
[ -f /etc/banner ] && cat /etc/banner
|
|
|
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
export PS1='\u@\h:\w\$ '
|
|
|
|
alias more=less
|
|
[ -x /usr/bin/vim ] || alias vim=vi
|
|
|
|
arp() { cat /proc/net/arp; }
|
|
ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
|
|
reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }
|