Root/data/qi_lb60/files/etc/profile

1#!/bin/sh
2[ -f /etc/banner ] && cat /etc/banner
3echo -n "-------------------------------- version: "
4[ -f /etc/VERSION ] && cat /etc/VERSION
5
6export PATH=/bin:/sbin:/usr/bin:/usr/sbin
7export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
8export HOME=${HOME:-/root}
9export PS1='\u@\h:\w\$ '
10
11# NanoNote specific global settings
12## SDL
13### we do not have any mouse
14export SDL_NOMOUSE=1
15### do use fb-device directly
16export SDL_VIDEODRIVER=fbcon
17## QT4
18### set keyboard device
19export QWS_KEYBOARD=LinuxInput:/dev/input/event1
20### do use fb-device directly
21export QWS_DISPLAY=linuxfb
22
23[ -x /bin/more ] || alias more=less
24[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
25
26[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
27
28[ -x /sbin/arp ] || arp() { cat /proc/net/arp; }
29[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
30

Archive Download this file



interactive