diff --git a/root/etc/init.d/mosdns b/root/etc/init.d/mosdns index ae9b00c..f3d7a44 100755 --- a/root/etc/init.d/mosdns +++ b/root/etc/init.d/mosdns @@ -64,7 +64,7 @@ start_service() { [ $enabled != 1 ] && return 1 delcron setcron - echo '' > $(uci -q get mosdns.mosdns.logfile) + cat /dev/null > $(uci -q get mosdns.mosdns.logfile) procd_open_instance mosdns procd_set_param command $PROG -c "$CONF" procd_set_param user root