|
发表于 2002-10-16 16:07:25
|
显示全部楼层
在gentoo里.bashrc不能用,如果你一定要,需要在/etc/profile中加入
if [ "$SHELL" = '/bin/bash' ] || [ -f "$HOME/.bashrc" ]
thenhttp://linuxsir.cn/bbs/editpost.php?s=&action=editpost&postid=51799
source $HOME/.bashrc
fi
自动加载模块在/etc/modules.autoload 模块配置在/etc/modules.d/
运行级别在/etc/runlevels/
所以的环境变量在/etc/profile.env 配置文件在/etc/env.d/ 管理方式像模块
|
|