|
@@ -46,7 +46,7 @@ start_proxy() {
|
46
|
46
|
proxy_string "$1" StatFile >> $CFGFILE
|
47
|
47
|
proxy_string "$1" LogFile >> $CFGFILE
|
48
|
48
|
|
49
|
|
- proxy_flag "$1" SysLog >> $CFGFILE
|
|
49
|
+ proxy_flag "$1" Syslog >> $CFGFILE
|
50
|
50
|
|
51
|
51
|
proxy_atom "$1" LogLevel >> $CFGFILE
|
52
|
52
|
|
|
@@ -111,6 +111,10 @@ proxy_string() {
|
111
|
111
|
config_get _value "$SECTION" "$OPTION"
|
112
|
112
|
[ -z "$_value" ] && _value="$DEFAULT"
|
113
|
113
|
[ -n "$_value" ] && echo "${ALIAS:-${OPTION}} "'"'"$_value"'"'
|
|
114
|
+ [ -n "$_value" -a "$OPTION" = "LogFile" ] && {
|
|
115
|
+ touch $_value
|
|
116
|
+ chmod 666 $_value
|
|
117
|
+ }
|
114
|
118
|
}
|
115
|
119
|
|
116
|
120
|
proxy_flag() {
|