Skip to content

Commit

Permalink
chore: less file check
Browse files Browse the repository at this point in the history
  • Loading branch information
vernesong committed Oct 7, 2024
1 parent 012403b commit 1d486a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luci-app-openclash/root/etc/init.d/openclash
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ check_run_quick()

write_run_quick()
{
check_file="$(echo $RAW_CONFIG_FILE | tr " " "?") $(ls -d /etc/openclash/custom/*) $meta_core_path $ipdb_path $geosite_path $geoip_path $chnr_path $chnr6_path /usr/share/openclash/res/lhie1.yaml"
check_file="$(echo $RAW_CONFIG_FILE | tr " " "?") $(ls -d /etc/openclash/custom/*) /usr/share/openclash/res/lhie1.yaml"
cmp -s "/etc/config/openclash" "/tmp/openclash_config.tmp"
if [ "$?" -ne "0" ]; then
cp "/etc/config/openclash" "/tmp/openclash_config.tmp"
Expand Down

0 comments on commit 1d486a7

Please sign in to comment.