On Fri, 19 Nov 2010 19:18:53 +0000 (GMT) Patrick Dupre <[email protected]> wrote:
> Hello,
> With the last versions of fedora, if I am correct, it is recommanded
> to run NetworkManager and not anymore network.
> So during the boot I used to make a ntpdate on a server which
> is not anymore available because there is not network.
> Do you just recommand to not run ntpdate during the boot or there
> is other alternatives ?
Add a script to /etc/NetworkManager/dispatcher.d/ that calls ntpdate on
network connection. Something like:
#!/bin/sh
if [ "$2" = "up" ]; then
ntpdate -u addressofyourntpserver
fi
Then, every time NM connects to a network and it's UP, it will run
that.
kevin
signature.asc
Description: PGP signature
-- users mailing list [email protected] To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
