Sorry ignore comment #16 as the following line in /etc/ppp/ip-up.d/0000usepeerdns will exit because of the '#!/bin/sh -e' shebang line:
cp -Lp "$REALRESOLVCONF" "$REALRESOLVCONF.pppd-backup.$PPP_IFACE"
So my original suggestion of replacing the following line:
cp -a "$REALRESOLVCONF" "$REALRESOLVCONF.pppd-backup.$PPP_IFACE"
to:
cp "$REALRESOLVCONF" "$REALRESOLVCONF.pppd-backup.$PPP_IFACE" chmod 644 "$REALRESOLVCONF.pppd-backup.$PPP_IFACE"
was correct and won't prematurely exit.
Sorry ignore comment #16 as the following line in /etc/ppp/ ip-up.d/ 0000usepeerdns will exit because of the '#!/bin/sh -e' shebang line:
cp -Lp "$REALRESOLVCONF" "$REALRESOLVCON F.pppd- backup. $PPP_IFACE"
So my original suggestion of replacing the following line:
cp -a "$REALRESOLVCONF" "$REALRESOLVCON F.pppd- backup. $PPP_IFACE"
to:
cp "$REALRESOLVCONF" "$REALRESOLVCON F.pppd- backup. $PPP_IFACE" F.pppd- backup. $PPP_IFACE"
chmod 644 "$REALRESOLVCON
was correct and won't prematurely exit.