From 85d6d57eaad06e33f0f56e7bc482d53b6a55e824 Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 10 Feb 2011 20:05:45 +0000 Subject: [PATCH] [backfire] merge r25452 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25453 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/usr/share/udhcpc/default.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/usr/share/udhcpc/default.script b/package/base-files/files/usr/share/udhcpc/default.script index 9acde829d..c03292567 100755 --- a/package/base-files/files/usr/share/udhcpc/default.script +++ b/package/base-files/files/usr/share/udhcpc/default.script @@ -162,7 +162,7 @@ setup_interface () { # UCI State change_state network "$ifc" lease_server "$serverid" - change_state network "$ifc" lease_acquired "$(date '+%s')" + change_state network "$ifc" lease_acquired "$(sed -ne 's![^0-9].*$!!p' /proc/uptime)" change_state network "$ifc" lease_lifetime "$lease" [ -n "$ntpsrv" ] && change_state network "$ifc" lease_ntpsrv "$ntpsrv" [ -n "$timesvr" ] && change_state network "$ifc" lease_timesrv "$timesvr"