Revert "luci-app-zerotier: update runtime file path" (#272)

This reverts commit c0ab8ee0cf.
This commit is contained in:
arrio464 2024-03-12 04:41:59 +08:00 committed by GitHub
parent 8e15fc6627
commit c79d23bf46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,9 +27,8 @@ start_instance() {
return 1
fi
config_path=${CONFIG_PATH}_$cfg
rm -rf $config_path
mkdir -p $config_path
[ -d /etc/config/zero ] || mkdir -p /etc/config/zero
config_path=/etc/config/zero
config_get_bool port $cfg 'port'
config_get secret $cfg 'secret'