Browse Source

netifd: call /etc/udhcp.user from the netifd dhcp.script

This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.

Signed-off-by: Helmut Schaa <[email protected]>

SVN-Revision: 34704
Felix Fietkau 13 years ago
parent
commit
860c2e8116
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/network/config/netifd/files/lib/netifd/dhcp.script

+ 3 - 0
package/network/config/netifd/files/lib/netifd/dhcp.script

@@ -56,4 +56,7 @@ case "$1" in
 	;;
 esac
 
+# user rules
+[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user
+
 exit 0