1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-19 03:32:30 +08:00
2024-12-15 17:53:53 +08:00

9 lines
213 B
Bash

#!/bin/bash
CONFIG_FILE="./conf/my.cnf"
if grep -q "skip-host-cache" "$CONFIG_FILE"; then
sed -i '/skip-host-cache/d' "$CONFIG_FILE"
else
echo "'skip-host-cache' does not exist in the configuration file."
fi