Comment 17 for bug 1778946

Revision history for this message
Douglas Kosovic (dkosovic) wrote :

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.