summaryrefslogtreecommitdiffstats
path: root/package/base-files/default/etc/init.d/S99done
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/etc/init.d/S99done')
-rwxr-xr-xpackage/base-files/default/etc/init.d/S99done2
1 files changed, 1 insertions, 1 deletions
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 >&-