From abc4b64a231770554aa179597865cf2735a0767c Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 23 Mar 2021 22:28:22 +0100 Subject: [PATCH] Fix scripts --- files/etc/init.d/wwan_loop | 2 +- files/usr/sbin/wwan_loop | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/etc/init.d/wwan_loop b/files/etc/init.d/wwan_loop index 0c98c2e..210082d 100755 --- a/files/etc/init.d/wwan_loop +++ b/files/etc/init.d/wwan_loop @@ -6,7 +6,7 @@ STOP=01 start_service() { procd_open_instance - procd_set_param command /usr/sbin/wwan_loop.sh + procd_set_param command /usr/sbin/wwan_loop procd_set_param stdout 1 procd_set_param stderr 1 procd_close_instance diff --git a/files/usr/sbin/wwan_loop b/files/usr/sbin/wwan_loop index d627218..b611fd2 100755 --- a/files/usr/sbin/wwan_loop +++ b/files/usr/sbin/wwan_loop @@ -1,3 +1,3 @@ #!/bin/sh -mmcli --modem 0 --monitor-state | while read r ; do /usr/sbin/wwan0_reconnect ; done +mmcli --modem 0 --monitor-state | while read r ; do /usr/sbin/wwan_reconnect ; done