[prev in list] [next in list] [prev in thread] [next in thread]
List: opensolaris-discuss
Subject: Re: [osol-discuss] binding ntp to specific inteface
From: Mike DeMarco <mikejd42 () yahoo ! com>
Date: 2010-12-31 16:26:38
Message-ID: 1451967403.01293841629572.JavaMail.Twebapp () sf-app1
[Download RAW message or body]
options are added using svccfg, the following will show the configurable options:
svccfg -s svc:/network/ntp:default listprop config
There is no prop for -I interface.
You may have to go directly into the method and hard code it. Ugly maybe someone else has a better way.
/lib/svc/method/ntp
# Start the daemon. If debugging is requested, put it in the background,
# since it won't do it on it's own.
if [ "$deb" -gt 0 ]; then
/usr/lib/inet/ntpd "$@" --set-debug-level=$deb >/var/ntp/ntp.debug &
else
/usr/lib/inet/ntpd "$@" #insert -I interface here.
fi
This is very ugly. Hopefully someone else will post a better way.
--
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic