summaryrefslogtreecommitdiffstats
path: root/openwrt/package/base-files/default/etc/init.d/S99done
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/etc/init.d/S99done')
-rwxr-xr-xopenwrt/package/base-files/default/etc/init.d/S99done2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/etc/init.d/S99done b/openwrt/package/base-files/default/etc/init.d/S99done
index ce6033721..a260ac3d6 100755
--- a/openwrt/package/base-files/default/etc/init.d/S99done
+++ b/openwrt/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 >&-