I went to use this script to replace the one I wrote myself for this same MTU ppp problem. And when I went to do that I ran into some issues. I needed to set my MTU to 1444 which all of the "$PTARGET-8" checks failed against, so I removed them and inverted the logic in some places to check if things are in the desired state instead of checking if things are in a specific wrong state.
I am going to leave comments on the individual changes with more specifics.
I went to use this script to replace the one I wrote myself for this same MTU ppp problem. And when I went to do that I ran into some issues. I needed to set my MTU to 1444 which all of the "$PTARGET-8" checks failed against, so I removed them and inverted the logic in some places to check if things are in the desired state instead of checking if things are in a specific wrong state.
I am going to leave comments on the individual changes with more specifics.