| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- export PATH="/bin:/sbin:/usr/bin:/usr/sbin"
- if [ "$PS1" ]; then
- if [ "`id -u`" -eq 0 ]; then
- export PS1='\u@\h:\w\$ '
- else
- export PS1='\u@\h:\w\$ '
- fi
- fi
- export PAGER='/bin/more'
- export EDITOR='/bin/vi'
- # Source configuration files from /etc/profile.d
- for i in /etc/profile.d/*.sh ; do
- if [ -r "$i" ]; then
- . $i
- fi
- done
- unset i
- export XDG_RUNTIME_DIR=/dev/shm
- export RUNDIR=/root/run
- export APPDIR=$RUNDIR/app
- export WEBDIR=$RUNDIR/web
- export SNMPDIR=$APPDIR/snmp
- source /etc/qtenv.sh
- export MIBDIRS=$SNMPDIR/mibs
- export LD_LIBRARY_PATH=$APPDIR/lib:$LD_LIBRARY_PATH
- export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event1:rotate=180:invertx
- if [ -x /usr/bin/resize ] && termpath="`tty`"; then
- # Make sure we are on a serial console (i.e. the device used
- # starts with /dev/tty),
- # otherwise we confuse e.g. the eclipse launcher which tries
- # do use ssh
- case "$termpath" in
- /dev/console) resize >/dev/null;;
- /dev/tty[A-z]*) resize >/dev/null
- esac
- fi
|