lose data on shutdown?

Mike McCarty Mike.McCarty at sbcglobal.net
Sat Feb 13 11:05:52 PST 2010


Aleksandar Kuktin wrote:

[...]

> But make sure you do it properly - if your script is like this:
> 
> # Begin my_script.sh
> export LFS=/mnt/lfs
> export FOO="blabla"
> 
> Then simle `bash my_script.sh' won't help becouse the bash you just
> ordered will fork a totally new process which will run my_script.sh, set
> its own enviroment and then die. You should do: `source my_script.sh'.

What I usually do is

# mount /dev/device /mnt/someplace
# cd /mnt/someplace
# ./restart_script

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!



More information about the lfs-support mailing list