summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rl-system.init')
-rwxr-xr-xscripts/rl-system.init6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index fddea32a..3106d593 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -61,11 +61,6 @@ empty()
shopt -s extglob nullglob
-clear_serial () {
- rm -f /etc/wanpipe/*.conf /etc/ppp/peers/wan*
- rm -f /var/run/vyatta/*.description
-}
-
search_config_if_wan () {
grep -q "\<serial\>.*\<$1\>" $BOOTFILE
}
@@ -201,7 +196,6 @@ start () {
log_failure_msg "can\'t reset config files"
setup_ntp_config_file
- clear_serial
add_new_serial_if || \
log_failure_msg "can\'t add serial interfaces"