2011年7月14日 星期四

[Gentoo]增加在進入系統執行的指令 rc-update add .xprofile

在Gentoo下有幾個方法比較不一樣的是
rc-update add
在/etc/init.d 裡面加

或者

vim ~/.xprofile

像是要把google chrome的cache資料夾加到 /dev/shm
除了
ln -s 以外
lrwxrwxrwx 1 peicheng peicheng 28 7月 5 13:49 google-chrome -> /dev/shm/google-chrome.cache
並在
xprofile內加
mkdir /dev/shm/chromium.cache
mkdir /dev/shm/google-chrome.cache


沒有留言:

張貼留言