aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce A. Johnson <waterfordtrack@gmail.com>2021-12-22 14:24:02 -0500
committerAleksander Morgado <aleksander@aleksander.es>2022-01-05 10:26:16 +0100
commit91ed72aa29ede06d3a5115128e2267793ca611d4 (patch)
tree3001bec6ff7f67ab9fbc31def7141e90547aaa7d
parent791fb38417566b3cbde2450000049bd62c356305 (diff)
core: switch bash shell scripts to use /bin/sh for use w/Busybox.
Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/483
-rw-r--r--data/fcc-unlock/105b2
-rw-r--r--data/fcc-unlock/11992
-rw-r--r--data/fcc-unlock/1eac2
-rwxr-xr-xtest/mmcli-test-sms2
-rw-r--r--tools/tests/test-wrapper.sh.in2
5 files changed, 5 insertions, 5 deletions
diff --git a/data/fcc-unlock/105b b/data/fcc-unlock/105b
index 21fe5329..f276050f 100644
--- a/data/fcc-unlock/105b
+++ b/data/fcc-unlock/105b
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# SPDX-License-Identifier: CC0-1.0
# 2021 Aleksander Morgado <aleksander@aleksander.es>
diff --git a/data/fcc-unlock/1199 b/data/fcc-unlock/1199
index 0109c6ab..e1d3804c 100644
--- a/data/fcc-unlock/1199
+++ b/data/fcc-unlock/1199
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# SPDX-License-Identifier: CC0-1.0
# 2021 Aleksander Morgado <aleksander@aleksander.es>
diff --git a/data/fcc-unlock/1eac b/data/fcc-unlock/1eac
index 1068d9c2..d9342852 100644
--- a/data/fcc-unlock/1eac
+++ b/data/fcc-unlock/1eac
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# SPDX-License-Identifier: CC0-1.0
# 2021 Aleksander Morgado <aleksander@aleksander.es>
diff --git a/test/mmcli-test-sms b/test/mmcli-test-sms
index 038d777d..8229d36a 100755
--- a/test/mmcli-test-sms
+++ b/test/mmcli-test-sms
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
print_usage () {
echo "usage: $0 [MODEM INDEX] [all|ucs2|gsm7|data] [NUMBER]"
diff --git a/tools/tests/test-wrapper.sh.in b/tools/tests/test-wrapper.sh.in
index d64ea4cb..fcdb56de 100644
--- a/tools/tests/test-wrapper.sh.in
+++ b/tools/tests/test-wrapper.sh.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# For debugging behavior of test-modemmanager-service.py, you can modify
# this line to add --log-file option