View | Details | Raw Unified | Return to bug 573246
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +6 lines)
Line  Link Here
0
-- 21-cifs.orig        2010-07-07 17:54:58.268058989 +0530
0
++ 21-cifs     2010-07-07 17:59:37.545067739 +0530
Lines 56-66 source /etc/rc.status Link Here
56
# Main case switch
56
# Main case switch
57
case "$0" in
57
case "$0" in
58
       *if-up.d*)
58
       *if-up.d*)
59
               . /etc/sysconfig/network/scripts/functions
60
               state=`read_cached_config_data dhcp4_state "$interface"`
61
59
               if rc_active nmb; then
62
               if rc_active nmb; then
60
                       log_msg=$( rcnmb start 2>&1)
63
                       log_msg=$( rcnmb start 2>&1)
61
                       log_dbg "${log_msg}"
64
                       log_dbg "${log_msg}"
62
               fi
65
               fi
63
               if rc_active cifs; then
66
               # Restart cifs only if IPaddress changes and cifs is active
67
               if "$state" == "new" && rc_active cifs; then
64
                       log_msg=$( rccifs restart 2>&1)
68
                       log_msg=$( rccifs restart 2>&1)
65
                       log_dbg "${log_msg}"
69
                       log_dbg "${log_msg}"
66
               fi
70
               fi

Return to bug 573246