diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-16 01:32:59 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-08-16 01:36:18 -0400 |
commit | 540db8eef89299b5827bca8a5140ae0c3151181c (patch) | |
tree | 88153cb6ab790579cdd2f31273a348bf7b4c5ec7 /osi-mk.d | |
parent | 93ba79d3eacfd1ba225d309a226540619f370b05 (diff) |
run osi stuff through shellcheck
Disable SC2064 because we use @Q rather than deferred expansion.
The only real issue found is adding `-r` to `read` in osi-shell.
Diffstat (limited to 'osi-mk.d')
-rw-r--r-- | osi-mk.d/builddeps.sh | 2 | ||||
-rw-r--r-- | osi-mk.d/libretools.sh | 2 | ||||
-rw-r--r-- | osi-mk.d/systemd-autologin-ttyS0.sh | 2 | ||||
-rw-r--r-- | osi-mk.d/systemd-dhcpcd.sh | 2 | ||||
-rw-r--r-- | osi-mk.d/systemd-lukeshu-debug.sh | 2 | ||||
-rw-r--r-- | osi-mk.d/systemd-osi-shell.sh | 2 | ||||
-rw-r--r-- | osi-mk.d/testuser.sh | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/osi-mk.d/builddeps.sh b/osi-mk.d/builddeps.sh index d4ffee2..74f2bf4 100644 --- a/osi-mk.d/builddeps.sh +++ b/osi-mk.d/builddeps.sh @@ -1,4 +1,4 @@ -#!/hint/bash +#!/hint/bash -euE packages+=( git diff --git a/osi-mk.d/libretools.sh b/osi-mk.d/libretools.sh index dd49c13..6bb916f 100644 --- a/osi-mk.d/libretools.sh +++ b/osi-mk.d/libretools.sh @@ -1,4 +1,4 @@ -#!/hint/bash +#!/hint/bash -euE load_module "$(dirname -- "${BASH_SOURCE[0]}")/testuser.sh" diff --git a/osi-mk.d/systemd-autologin-ttyS0.sh b/osi-mk.d/systemd-autologin-ttyS0.sh index b73d9ff..623b3e2 100644 --- a/osi-mk.d/systemd-autologin-ttyS0.sh +++ b/osi-mk.d/systemd-autologin-ttyS0.sh @@ -1,4 +1,4 @@ -#!/hint/bash +#!/hint/bash -euE post_install+=(10:autologin-ttyS0:post_install) autologin-ttyS0:post_install() { diff --git a/osi-mk.d/systemd-dhcpcd.sh b/osi-mk.d/systemd-dhcpcd.sh index 9913d9e..add8352 100644 --- a/osi-mk.d/systemd-dhcpcd.sh +++ b/osi-mk.d/systemd-dhcpcd.sh @@ -1,4 +1,4 @@ -#!/hint/bash +#!/hint/bash -euE # Also enable haveged. Without it, TLS will be unavailable for a # while even after network-online.target because getrandom(2) will diff --git a/osi-mk.d/systemd-lukeshu-debug.sh b/osi-mk.d/systemd-lukeshu-debug.sh index a6a6895..b9d9702 100644 --- a/osi-mk.d/systemd-lukeshu-debug.sh +++ b/osi-mk.d/systemd-lukeshu-debug.sh @@ -1,4 +1,4 @@ -#!/hint/bash +#!/hint/bash -euE packages+=( socat diff --git a/osi-mk.d/systemd-osi-shell.sh b/osi-mk.d/systemd-osi-shell.sh index 18ba167..86f6b2e 100644 --- a/osi-mk.d/systemd-osi-shell.sh +++ b/osi-mk.d/systemd-osi-shell.sh @@ -1,4 +1,4 @@ -#!/hint/bash +#!/hint/bash -euE post_install+=(10:systemd-osi-shell:post_install) systemd-osi-shell:post_install() { diff --git a/osi-mk.d/testuser.sh b/osi-mk.d/testuser.sh index bd1f08a..92aa8e4 100644 --- a/osi-mk.d/testuser.sh +++ b/osi-mk.d/testuser.sh @@ -1,4 +1,4 @@ -#!/hint/bash +#!/hint/bash -euE post_install+=(01:testuser:early) testuser:early() { |