Root/data/qi_lb60/files/etc/profile

Source at commit f104603657789697c8f9ca612a76c003cad41d6a created 8 years 10 months ago.
By Xiangfu Liu, automatic create /dev/rtc
1#!/bin/sh
2
3export PATH=/bin:/sbin:/usr/bin:/usr/sbin
4export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
5export HOME=${HOME:-/root}
6export PS1='\u@\h:\w\$ '
7
8# NanoNote specific global settings
9## SDL
10### we do not have any mouse
11export SDL_NOMOUSE=1
12### do use fb-device directly
13export SDL_VIDEODRIVER=fbcon
14## QT4
15### set keyboard device
16export QWS_KEYBOARD=LinuxInput:/dev/input/event1:keymap=/usr/share/qmaps/ben.qmap
17### do use fb-device directly
18export QWS_DISPLAY=linuxfb
19
20export HISTFILE=$HOME/.ash_history
21export TERM=linux
22
23[ -e /dev/rtc0 ] && ! [ -e /dev/rtc ] && ln -s /dev/rtc0 /dev/rtc
24
25[ -x /bin/more ] || alias more=less
26[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
27
28[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
29
30[ -x /sbin/arp ] || arp() { cat /proc/net/arp; }
31[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
32

Archive Download this file



interactive