[chrony-dev] Re: chronyd set time and exit |
[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]
HiMy use case requires only running once, setting the time and then exiting. I know this works by doing chronyd -qHowever, I am planning on using chronyd for a small embedded arm linux project, and I want to cut off flash space as much as I can. that is, I'd like to trim down the binary size. Right now, on my platform, it takes about 114K, but smaller would be better. My idea is to comment out code that does all of the drift calculations, all of the daemon code etc, and only retain the core logic to do a one time authenticated NTP sync. Basically something like ntpupdate as its own binary.-Earlence
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |