Hi,
save the flash stays for what ?
Darius
forum search for /tmp/etc/profile
only 4 search results
http://wl500g.info/search.php?searchid=2844818
wengi
http://wl500g.info/showthread.php?t=...profile&page=2
Weil /tmp flüchtig ist!
Du musst das entweder auf Deiner Platte (/opt) oder im Flash speichern und Deine post-boot dementsprechen anpassen.
wengi
http://wl500g.info/showthread.php?t=...Fetc%2Fprofile
newbiefan
http://wl500g.info/showthread.php?t=...Fetc%2Fprofile
"
When your progs are not found in /opt/bin aso., it looks like your profile is not complete: cat /tmp/etc/profile should show you all dirs where progs/binaries/scripts are stored. If necessary, you can edit your profile with vi and store it with flashfs save && flashfs commit && flashfs enable && reboot
But usually when installing everything according howto, it should be there.
Anyhow, just to allow you a comarision, find attached my profile.
http://wl500g.info/attachment.php?at...8&d=1200862935
# /etc/profile
export PATH=/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PS1="[\u@\h \W]\$ "
[ -x /usr/local/etc/profile ] && . /usr/local/etc/profile
[ -x /opt/etc/profile ] && . /opt/etc/profile
"
by wengi
http://wl500g.info/showthread.php?t=10307
14. Adjust profile
To make life easier at the command promt you will add some alias.
Code:
vi /opt/etc/profile
The file should be executable (chmod ...).
The content (Edit the nload settings!):
Quote:
# Some alias for making life easier
# To start nload with DSL 6000 settings: 'nld'
alias nld="nload -t 200 -s 7 -i 6656 -o 640 -u H eth1"
# Make ls default -la with color coding
alias ls="ls --color=auto -la"
# Make pss a grep ps function
alias pss="ps axf | grep"
# df human readable (Only works with coreutils installed!)
# alias df="df -h"
There is one more line if you installed midnight commander.
Make it executable:
Code:
chmod +x /opt/etc/profile
Save, reboot:
Code:
flashfs save && flashfs commit && flashfs enable && reboot
You can verify your modification by entering 'alias':
Quote:
[admin@blechbuechse root]$ alias
ls='ls --color=auto -la'
nld='nload -t 200 -s 7 -i 6656 -o 640 -u H eth1'
pss='ps axf | grep'