summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-23 15:35:04 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-23 15:35:07 +0100
commitf9c23ae4b62eba56465c998043bd54294992d676 (patch)
tree983de7d1ed3a3f2e74eeea7629b457b74a7c0a67 /scripts
parent99a148ef779eafa025d9121344dbc91f28b8ce28 (diff)
downloadvyatta-cfg-system-f9c23ae4b62eba56465c998043bd54294992d676.tar.gz
vyatta-cfg-system-f9c23ae4b62eba56465c998043bd54294992d676.zip
pppoe: T1318: Migrate pppoe interfaces to vyos-1x
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
}