From d9a1157878430aa6e0f5b8c830fe0a7310953239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Gon=C3=A7alves?= Date: Tue, 18 Apr 2017 14:10:36 +0100 Subject: [PATCH] filesystem: update service of check_wlan. --- rules/filesystem/fs/etc/rc.d/check_wlan | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rules/filesystem/fs/etc/rc.d/check_wlan b/rules/filesystem/fs/etc/rc.d/check_wlan index 54b9a08..1efc0e0 100644 --- a/rules/filesystem/fs/etc/rc.d/check_wlan +++ b/rules/filesystem/fs/etc/rc.d/check_wlan @@ -1,5 +1,9 @@ start() { + if [ ! -f /opt/check_wlan ]; then + cp -ri /etc/check_wlan /opt/ + fi + sh /opt/check_wlan < /dev/null > /dev/null 2>&1 & }