summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-07-12 15:38:04 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2009-07-12 15:38:04 +0000
commite5b097425d65e1f3d215fc10b85d4918ca80e652 (patch)
tree96e27406c6022193199ab318c13050ee8b7c724a /package/base-files
parenta4ed68fbe47ef5a14cbe1d316a2ac159747a0f66 (diff)
downloadmtk-20170518-e5b097425d65e1f3d215fc10b85d4918ca80e652.zip
mtk-20170518-e5b097425d65e1f3d215fc10b85d4918ca80e652.tar.gz
mtk-20170518-e5b097425d65e1f3d215fc10b85d4918ca80e652.tar.bz2
udhcpc: Pass all events to udhcpc.user
Petitboot and maybe other apps need to know when the dhcp lease is lost. Move the udhcpc.user call to send it all udhcpc events. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> SVN-Revision: 16815
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/usr/share/udhcpc/default.script6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/base-files/files/usr/share/udhcpc/default.script b/package/base-files/files/usr/share/udhcpc/default.script
index 1b02c0c..b32b2c9 100755
--- a/package/base-files/files/usr/share/udhcpc/default.script
+++ b/package/base-files/files/usr/share/udhcpc/default.script
@@ -215,9 +215,9 @@ for ifc in $interfaces __default; do
setup_interface ifup
;;
esac
-
- # user rules
- [ -f /etc/udhcpc.user ] && . /etc/udhcpc.user
done
+# user rules
+[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user
+
exit 0