[lug] Debugging Init Scripts...How to Log?
stimits at comcast.net
stimits at comcast.net
Mon Nov 30 11:28:09 MST 2015
Hi,
I have an Ubuntu 14.04 LTS system which seems to have a bug in setting up correct IPv4 routing metric (it's using IPv6 metric on an IPv4 address, which it shouldn't be). So I'm interested in logging the actual route add command being issued inside of an avahi script...if the address passed has been told an IPv6 format, it's the fault of the DHCP software...if the address passed is IPv4, then avahi is at fault. What's the proper way to echo a value from the script into a log file when that script is part of init? Is it ok (or wise) to simply echo redirected to a file name like any other bash script?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20151130/0956c75a/attachment.html>
More information about the LUG
mailing list