X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7619fe0848dc5f31d5c4c4cadd2ec067bd5c55d1..930b7bf62431dc62f4f3917dedf94950ef8c93bb:/package/base-files/default/etc/init.d/S99done diff --git a/package/base-files/default/etc/init.d/S99done b/package/base-files/default/etc/init.d/S99done index ce6033721..a260ac3d6 100755 --- a/package/base-files/default/etc/init.d/S99done +++ b/package/base-files/default/etc/init.d/S99done @@ -1,4 +1,4 @@ #!/bin/sh # set leds to normal state -echo "0x00" > /proc/sys/diag +[ -f /proc/sys/diag ] && echo "0x00" > /proc/sys/diag sysctl -p >&-