fix(master : nicsensor) update to 1.8.7
将get/set功能中的detect选项变更为 n_detect , 便于理解
This commit is contained in:
parent
988d217008
commit
fe33854677
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
SCRIPT_VERSION="1.8.6"
|
||||
SCRIPT_VERSION="1.8.7"
|
||||
# ---------------------------------------------------------
|
||||
# Project Feature Varible (Change if need)
|
||||
# ---------------------------------------------------------
|
||||
@ -194,11 +194,11 @@ print_usage(){
|
||||
echo " Function 5 - Settings"
|
||||
echo " 1) Command Format : ./nicsensor.sh [get/set] [property] [value]"
|
||||
echo " 2) Option Detail"
|
||||
echo " - [property] : debug, detect, server"
|
||||
echo " - [property] : debug, n_detect, server"
|
||||
echo " - [value] : property's value"
|
||||
echo " 3) E.G. : ./nicsensor.sh set server 5280m7"
|
||||
echo " : ./nicsensor.sh set debug 1"
|
||||
echo " : ./nicsensor.sh set detect 1"
|
||||
echo " : ./nicsensor.sh set n_detect 1"
|
||||
echo ""
|
||||
search_plugin_help
|
||||
}
|
||||
@ -275,7 +275,7 @@ get_set_properties(){
|
||||
elif [ "$Param2" = "debug" ];then
|
||||
target_file="/tmp/ns_debugmode"
|
||||
default_data=$DEBUG_MODE
|
||||
elif [ "$Param2" = "detect" ];then
|
||||
elif [ "$Param2" = "n_detect" ];then
|
||||
target_file="/tmp/ns_disabledetect"
|
||||
default_data=$DISABLE_DETECT
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user