1. PATH环境(可执行文件搜索目录)
在/etc/profile中添加:
export PATH = $PATH:your-path
如:export PATH=$PATH:/NandFlash
2. LD_LIBRARY_PATH环境(链接库文件搜索目录)
在/etc/profile中添加:
export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:your-libpath
如:export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/NandFlash
3. 时间设置
date -s YYYY.MM.DD-hh:mm:ss
hwclock -w