[PLUG] Can I make a link happen automatically?

Rogan Creswick creswick at gmail.com
Wed Mar 8 22:04:37 UTC 2006


On 3/7/06, John Jordan <johnxj at comcast.net> wrote:
>
> sudo ln -f /etc/resolv.conf /chroot/breezy/32bits/etc/resolv.conf
>

Could some one explain why you need to do this more than once?  Is
something in the chroot blowing away this link periodically? If so,
that sounds like the problem that should be fixed...

--Rogan


>
> This works great. However, it is a pain in the neck. I need to
> automate the process somehow. My first choice would be to create
> some kind of command that would make the link update
> automatically any time there is a change in the file in the 64-bit
> world. I.e., if /etc/resolv.conf changes it will automatically trigger
> the link command.
>
> As a second choice, can I add the link command in front of the
> command that launches Firefox-32 (the one installed in chroot)?
> The command to launch 32-bit Firefox in the Gnome application
> drop-down menu is "dchroot -d firefox %U." Could I just stick the
> link command in front of it by adding some secret code in between
> so Linux will realize it is two commands, not just one?
>
> Or does anyone have a better way to avoid having to open a
> terminal and type out that command and my password every time I
> go to a new place?
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list