Skip to content

Commit

Permalink
Update configer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
clion007 committed Jun 16, 2024
1 parent f4efa1a commit dc40f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/configer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ fi

echo -e "\e[1;31m 添加配置目录权限 \e[0m"
echo
if [ `grep -c "\/etc\/dnsmasq.d\/" /etc/init.d/dnsmasq` -ne '0' ];then
if [ `grep -c "\/etc\/dnsmasq.d\/" /etc/init.d/dnsmasq` -ne '1' ];then
sed -i 's/$resolvdir $user_dhcpscript/$resolvdir $user_dhcpscript \/etc\/dnsmasq.d\//g' /etc/init.d/dnsmasq
fi

0 comments on commit dc40f58

Please sign in to comment.