diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2022-01-14 19:21:45 +0200 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2022-01-14 19:21:45 +0200 |
commit | 0e00f60e058b15187ff117a066c58a2b9e49cb7c (patch) | |
tree | ad83af62c675f1f00a8f9d7a5db81507555d62f7 /recipes-connectivity/ppp/files/init.patch | |
parent | 0d94aeefa9a29d6b58d1c481d60b85858bd4599a (diff) | |
parent | c0dc46667e659b02bab06e30beeaeefdad05a061 (diff) | |
download | meta-mlinux-0e00f60e058b15187ff117a066c58a2b9e49cb7c.tar.gz meta-mlinux-0e00f60e058b15187ff117a066c58a2b9e49cb7c.tar.bz2 meta-mlinux-0e00f60e058b15187ff117a066c58a2b9e49cb7c.zip |
Merge remote-tracking branch 'origin/6' into mpower-dev-nxp
Diffstat (limited to 'recipes-connectivity/ppp/files/init.patch')
-rw-r--r-- | recipes-connectivity/ppp/files/init.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-connectivity/ppp/files/init.patch b/recipes-connectivity/ppp/files/init.patch index 00ae09a..333c428 100644 --- a/recipes-connectivity/ppp/files/init.patch +++ b/recipes-connectivity/ppp/files/init.patch @@ -7,9 +7,9 @@ diff -Naru orig/init new/init . /etc/init.d/functions +. /etc/default/ppp +if [[ $RADIORESETWAIT == yes ]] ; then -+ . /usr/libexec/ppp/wait_for_reset ++ WAITFORRESET=/usr/bin/mts-wait-for-cell-reset +else -+ function wait_for_reset { :; } ++ WAITFORRESET=":" +fi + +mkdir -p /run/ppp || true @@ -21,7 +21,7 @@ diff -Naru orig/init new/init case "$1" in start) echo -n "Starting up PPP link: pppd" -+ wait_for_reset ++ ${WAITFORRESET} if [ "$RUNFILE" = "1" ]; then + logger "ppp_on_boot" /etc/ppp/ppp_on_boot @@ -35,13 +35,13 @@ diff -Naru orig/init new/init + if [ "$RUNFILE" = "1" ]; then poff sleep 5 -+ wait_for_reset ++ ${WAITFORRESET} /etc/ppp/ppp_on_boot - else + else poff provider sleep 5 -+ wait_for_reset ++ ${WAITFORRESET} pppd call provider fi echo "." |