Linux环境变量设置

/etc/profile

# Ash profile 
# vim: syntax=sh

# No core files by default
ulimit -S -c 0 > /dev/null 2>&1

USER="`id -un`"
LOGNAME=$USER
PS1='[\u@\h \W]\# '
PATH=$PATH

HOSTNAME=`/bin/hostname`

export USER LOGNAME PS1 PATH



BFS_ROOT=/home/gx/gx61850v3           
export BFS_ROOT

PATH=$PATH:$HOME/bin:$BFS_ROOT/bin:
export PATH

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$BFS_ROOT/lib:
export LD_LIBRARY_PATH


#ntp=/pqm/pqm
#export ntp

#PATH=$PATH:$HOME:$ntp:
#export PATH

/etc/init.d/rcS
#!/bin/sh

#echo "hello pqm"
insmod /pqm/ko/clock_2401_dev.ko
insmod /pqm/ko/clock_2401_drv.ko

/pqm/ipcfg/ipconfig_eth0.sh
/pqm/ipcfg/ipconfig_eth1.sh

ulimit -s 4096

BFS_ROOT=/home/gx/gx61850v3
export BFS_ROOT
export PATH=$PATH:$BFS_ROOT/bin:
export LD_LIBRARY_PATH=$LDLIBRARY_PATH:$BFS_ROOT/lib:

/pqm/pqm/iedinit &
/pqm/pqm/485ser & 

iedsrv &

你可能感兴趣的:(linux,linux)