Set ownership for Mihomo configuration and log directories
This commit is contained in:
@@ -266,6 +266,9 @@ chattr +i /etc/resolv.conf 2>/dev/null || true
|
|||||||
rc-update add mihomo-iptables default
|
rc-update add mihomo-iptables default
|
||||||
rc-update add mihomo default
|
rc-update add mihomo default
|
||||||
|
|
||||||
|
chown -R mihomo:mihomo "$CONF_DIR"
|
||||||
|
chown -R mihomo:mihomo "$LOG_DIR"
|
||||||
|
|
||||||
echo "-----------------------------------------------------"
|
echo "-----------------------------------------------------"
|
||||||
echo "✅ INSTALLATION COMPLETE"
|
echo "✅ INSTALLATION COMPLETE"
|
||||||
echo "-----------------------------------------------------"
|
echo "-----------------------------------------------------"
|
||||||
|
|||||||
Reference in New Issue
Block a user