filesystem: add service of check_wlan.
This commit is contained in:
parent
bc788dc955
commit
560f4d8930
11
rules/filesystem/fs/etc/rc.d/check_wlan
Normal file
11
rules/filesystem/fs/etc/rc.d/check_wlan
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
start()
|
||||||
|
{
|
||||||
|
sh /opt/check_wlan < /dev/null > /dev/null 2>&1 &
|
||||||
|
}
|
||||||
|
|
||||||
|
stop()
|
||||||
|
{
|
||||||
|
echo "* Stopping process..."
|
||||||
|
killall sh /opt/check_wlan -9 > /dev/null 2>&1
|
||||||
|
echo "* Process not running."
|
||||||
|
}
|
Reference in New Issue
Block a user