summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-01-19 19:07:07 -0800
committerBob Gilligan <gilligan@vyatta.com>2011-01-19 20:10:01 -0800
commit7ca6e0a02c7cee7bd3474a441dc170b7c78445aa (patch)
tree5a62c8f94194fa118a406f568a0ed1a3dfc894aa
parent7bd52e84a6ea142ddc8384956faf131ed982cfc0 (diff)
downloadvyatta-cfg-quagga-7ca6e0a02c7cee7bd3474a441dc170b7c78445aa.tar.gz
vyatta-cfg-quagga-7ca6e0a02c7cee7bd3474a441dc170b7c78445aa.zip
Bugfix 6684: Don't delete wanpipe config files.
The wanpipe config files are managed by the vyatta-serial package. So this package should not touch them. (cherry picked from commit 256bf73dda76b68fe756c5299b0732336dc60e8a)
-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"