diff options
author | John Klug <john.klug@multitech.com> | 2021-12-21 11:17:53 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2021-12-29 07:23:49 -0600 |
commit | 41ea0df456cc09bcc701d1ea783975d82dc56ad5 (patch) | |
tree | 6ffeb41e31131826a1d99f76d7e07f2d23bf348e /recipes-connectivity/ppp/files/init.patch | |
parent | bf2c364e3816f6d64eedeef74f780682c3c986b8 (diff) | |
download | meta-mlinux-41ea0df456cc09bcc701d1ea783975d82dc56ad5.tar.gz meta-mlinux-41ea0df456cc09bcc701d1ea783975d82dc56ad5.tar.bz2 meta-mlinux-41ea0df456cc09bcc701d1ea783975d82dc56ad5.zip |
AT&T Data-Only Requirements
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 "." |