X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/7619fe0848dc5f31d5c4c4cadd2ec067bd5c55d1..ba3ea46d528d1655a8dd1739b7de0eac65a29ec5:/package/base-files/default/usr/share/udhcpc/default.script?ds=sidebyside diff --git a/package/base-files/default/usr/share/udhcpc/default.script b/package/base-files/default/usr/share/udhcpc/default.script index 6c64aa3d4..0c08985e7 100755 --- a/package/base-files/default/usr/share/udhcpc/default.script +++ b/package/base-files/default/usr/share/udhcpc/default.script @@ -1,6 +1,6 @@ #!/bin/sh # udhcpc script edited by Tim Riker -# (slightly modified for openwrt) +# (slightly modified for OpenWrt) [ -z "$1" ] && echo "Error: should be run by udhcpc" && exit 1 @@ -32,6 +32,10 @@ case "$1" in for i in $dns ; do echo adding dns $i echo nameserver $i >> $RESOLV_CONF + + # user rules + [ -f /etc/udhcpc.user ] && . /etc/udhcpc.user + done ;; esac