What should I do to have some shell scripts executed before interface down or after interface up?
Does netifd provide such interfaces?
I noticed that most luci related tasks invoke "ubus call network reload", this is tricky, I haven't understand the full logic inside.
Can anyone give me an advice that where's the right point to do the hack?
I also want my shell script to cover cases like "ifconfig xxx down/up", is it possible (without changing code in busybox) ?
(Last edited by nossiac on 11 Mar 2014, 04:43)