Waldemar Brodkorb 223e7a3278 check if some /proc files exist, before using it, for systems without diag kernel modul
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-30 11:36:37 +00:00

5 lines
105 B
Bash
Executable File

#!/bin/sh
# set leds to normal state
[ -f /proc/sys/diag ] && echo "0x00" > /proc/sys/diag
sysctl -p >&-