source: branches/backfire/package/base-files/files/etc/profile @ 27966

Last change on this file since 27966 was 27966, checked in by jow, 5 years ago

[backfire] backport r27965

  • Property svn:eol-style set to native
File size: 476 bytes
Line 
1#!/bin/sh
2[ -f /etc/banner ] && cat /etc/banner
3
4export PATH=/bin:/sbin:/usr/bin:/usr/sbin
5export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
6export HOME=${HOME:-/root}
7export PS1='\u@\h:\w\$ '
8
9[ -x /bin/more ] || alias more=less
10[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
11
12[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
13
14[ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
15[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
Note: See TracBrowser for help on using the repository browser.