test
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
#!/command/with-contenv bashio
|
||||
|
||||
tmpfile="/tmp/vhclient_config_tmp"
|
||||
file="/config/vhclient.ini"
|
||||
touch $file
|
||||
|
||||
if [ -z "${3:-}" ]; then
|
||||
v = ''
|
||||
v=''
|
||||
else
|
||||
v = $3
|
||||
v=$3
|
||||
fi
|
||||
|
||||
awk -f /usr/bin/vh_editini.awk -v section=$1 -v key=$2 -v value=$v $file
|
||||
awk -f /usr/bin/vh_editini.awk -v section=$1 -v key=$2 -v value=$v $file > $tmpfile
|
||||
mv $tmpfile $file
|
||||
|
||||
Reference in New Issue
Block a user