On 06/08/10 11:29, Brett Parker wrote:
That looks OK to me, though, I would have used the ip command instead, and I wouldn't have bothered with the sudo (those scripts are run as root).
Good points. (I knew sudo wasn't needed, I hadn't spotted that I had copy+pasted it from my tests at the commandline.)
Thanks for the pointers, I feel a little bit cleverer today than I was a couple of days ago, which can't be bad :-)