summaryrefslogtreecommitdiff
path: root/recipes-connectivity/ppp
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/ppp')
-rwxr-xr-xrecipes-connectivity/ppp/ppp-2.4.7/ip-up5
-rw-r--r--recipes-connectivity/ppp/ppp_2.4.7.bb2
2 files changed, 6 insertions, 1 deletions
diff --git a/recipes-connectivity/ppp/ppp-2.4.7/ip-up b/recipes-connectivity/ppp/ppp-2.4.7/ip-up
index fc2fae9..b78e688 100755
--- a/recipes-connectivity/ppp/ppp-2.4.7/ip-up
+++ b/recipes-connectivity/ppp/ppp-2.4.7/ip-up
@@ -41,4 +41,9 @@ export PPP_TTYNAME
run-parts /etc/ppp/ip-up.d
+# save timestamp
+linkuptime=$(cat /proc/uptime)
+linkuptime=${linkuptime%%.*}
+echo "$linkuptime" > /var/run/pppisup-$PPP_IFACE.sec
+
# last line
diff --git a/recipes-connectivity/ppp/ppp_2.4.7.bb b/recipes-connectivity/ppp/ppp_2.4.7.bb
index 8a94318..881c40e 100644
--- a/recipes-connectivity/ppp/ppp_2.4.7.bb
+++ b/recipes-connectivity/ppp/ppp_2.4.7.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://pppd/ccp.c;beginline=1;endline=29;md5=e2c43fe6e81ff77
file://pppd/plugins/passprompt.c;beginline=1;endline=10;md5=3bcbcdbf0e369c9a3e0b8c8275b065d8 \
file://pppd/tdb.c;beginline=1;endline=27;md5=4ca3a9991b011038d085d6675ae7c4e6 \
file://chat/chat.c;beginline=1;endline=15;md5=0d374b8545ee5c62d7aff1acbd38add2"
-PR = "r7"
+PR = "r8"
SRC_URI = "http://ppp.samba.org/ftp/ppp/ppp-${PV}.tar.gz \
file://makefile.patch \