summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rl-system.init4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index c183aeeb..79ac1344 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -165,6 +165,10 @@ security_reset () {
pam-auth-update --package --remove radius
fi
+ # The PPPOE config files are re-generated by the configuration subsystem
+ # on every boot, so we delete the old ones here.
+ rm -f /etc/ppp/peers/pppoe*
+
# Disable root login over telnet
sed -i -e '/^# Pseudo-terminal (telnet)/,$d' /etc/securetty
}