• R/O
  • HTTP
  • SSH
  • HTTPS

ppp-resource-agents: 提交


Commit MetaInfo

修订版a075c485ece5fb6b175f7d7c8ce1805f4788e6f2 (tree)
时间2017-08-30 18:00:15
作者Tatsuki Sugiura <sugi@nemu...>
CommiterTatsuki Sugiura

Log Message

Merge branch 'master' into debian

更改概述

差异

--- a/PPPConnection
+++ b/PPPConnection
@@ -221,11 +221,9 @@ ppp_check_pppd() {
221221 ppp_check_ip() {
222222 ppp_init
223223 if [ ! -z "$IP4" ]; then
224- $IP2UTIL -4 a list type ppp | grep "inet $IP4 "
225224 $IP2UTIL -4 a list type ppp | grep -q "inet $IP4 " || return 1
226225 fi
227226 if [ ! -z "$IP6" ]; then
228- $IP2UTIL -6 a list type ppp | grep "inet6 $IP6 "
229227 $IP2UTIL -6 a list type ppp | grep -q "inet6 $IP6 " || return 1
230228 fi
231229 return 0
@@ -246,7 +244,7 @@ ppp_echo_status() {
246244
247245 ppp_monitor() {
248246 ppp_init
249- local status=`ppp_echo_status`
247+ status=`ppp_echo_status`
250248 case $status in
251249 connected)
252250 return $OCF_SUCCESS
Show on old repository browser