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

Re: /etc/init.d/update-hostname and Networkmanager.

[Klaus Knopper]
> Why not put the update-hostname script to /etc/network/ip-up.d/ ?
> It will then be called as soon as network-manager (or ifup)
> assigns an address to the client.

Could work, as long as it restarts rsyslogd as well to get it to
discover the host name.

But it should probably only happen once during boot, and not every
time a roaming profile change network.

Happy hacking,
Petter Reinholdtsen

Reply to: