tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: System boot profiles



On Sun, Aug 03, 2008 at 10:31:39AM +0200, Marcin M. Jessa wrote:
> Hi guys.
> 
> 
> I have a laptop which I use both at home and work.
> One of the things I need is to be able to create custom boot profiles
> for my environments.
> This includes different config files like /etc/hosts, resolv.conf, 
> xorg.cong, fstab etc and some custom shell scripts acting upon a trigger 
> (i.e starting ypbind in one env only) for each of the profiles.

Maybe you can use magic symlinks for this?  E.g., /etc/hosts ->
/etc/@{hostname}-hosts ?  The hostname may be set too late.

Please let us know how you solve this problem, others may want to do
the same.

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933 ext 24


Home | Main Index | Thread Index | Old Index