mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2026-03-11 11:38:34 +01:00
<empty commit message>
This commit is contained in:
parent
94f3f833a2
commit
2a0c10fdeb
1 changed files with 6 additions and 3 deletions
|
|
@ -50,6 +50,7 @@ case "$1" in
|
|||
if [ "$2" = "notification" ]; then
|
||||
__arg1="$3"
|
||||
__arg2="$4"
|
||||
__arg3="$5"
|
||||
action="set_notification"
|
||||
elif [ "$2" = "tag" ]; then
|
||||
__arg1="$3"
|
||||
|
|
@ -332,9 +333,11 @@ if [ "$action" = "set_notification" ]; then
|
|||
fi
|
||||
freecwmp_check_fault "$__arg1"
|
||||
fault_code="$?"
|
||||
if [ "$fault_code" = "0" ]; then
|
||||
freecwmp_execute_functions "$set_notification_functions" "$__arg1" "$__arg2"
|
||||
fault_code="$?"
|
||||
if [ "$__arg3" != "0" ];then
|
||||
if [ "$fault_code" = "0" ]; then
|
||||
freecwmp_execute_functions "$set_notification_functions" "$__arg1" "$__arg2"
|
||||
fault_code="$?"
|
||||
fi
|
||||
fi
|
||||
if [ "$fault_code" != "0" ]; then
|
||||
let fault_code=$fault_code+9000
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue