diff --git a/usr/bin/amd_system_info b/usr/bin/amd_system_info index a5fbcb7..b76ef7e 100755 --- a/usr/bin/amd_system_info +++ b/usr/bin/amd_system_info @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh # script from AMD to use when reporting bugs to them diff --git a/usr/bin/jupiter-biosupdate b/usr/bin/jupiter-biosupdate index 7b7a206..273a162 100755 --- a/usr/bin/jupiter-biosupdate +++ b/usr/bin/jupiter-biosupdate @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -e ## Environment overrides diff --git a/usr/bin/jupiter-check-support b/usr/bin/jupiter-check-support index bd56a57..0bef6f2 100755 --- a/usr/bin/jupiter-check-support +++ b/usr/bin/jupiter-check-support @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -e diff --git a/usr/bin/jupiter-controller-update b/usr/bin/jupiter-controller-update index 3abf837..77fdef9 100755 --- a/usr/bin/jupiter-controller-update +++ b/usr/bin/jupiter-controller-update @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -euo pipefail diff --git a/usr/bin/steamos-polkit-helpers/jupiter-amp-control b/usr/bin/steamos-polkit-helpers/jupiter-amp-control index 5f1d205..3e0ed02 100755 --- a/usr/bin/steamos-polkit-helpers/jupiter-amp-control +++ b/usr/bin/steamos-polkit-helpers/jupiter-amp-control @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/jupiter-biosupdate b/usr/bin/steamos-polkit-helpers/jupiter-biosupdate index 1d7b792..c716d12 100755 --- a/usr/bin/steamos-polkit-helpers/jupiter-biosupdate +++ b/usr/bin/steamos-polkit-helpers/jupiter-biosupdate @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/jupiter-check-support b/usr/bin/steamos-polkit-helpers/jupiter-check-support index 9a442c8..862cec7 100755 --- a/usr/bin/steamos-polkit-helpers/jupiter-check-support +++ b/usr/bin/steamos-polkit-helpers/jupiter-check-support @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/jupiter-dock-updater b/usr/bin/steamos-polkit-helpers/jupiter-dock-updater index 15c695b..8733486 100755 --- a/usr/bin/steamos-polkit-helpers/jupiter-dock-updater +++ b/usr/bin/steamos-polkit-helpers/jupiter-dock-updater @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/jupiter-fan-control b/usr/bin/steamos-polkit-helpers/jupiter-fan-control index 2dfa176..ce77476 100755 --- a/usr/bin/steamos-polkit-helpers/jupiter-fan-control +++ b/usr/bin/steamos-polkit-helpers/jupiter-fan-control @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain b/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain index 775b5f4..f97753b 100755 --- a/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain +++ b/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-devkit-mode b/usr/bin/steamos-polkit-helpers/steamos-devkit-mode index b93f523..1678640 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-devkit-mode +++ b/usr/bin/steamos-polkit-helpers/steamos-devkit-mode @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management b/usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management index 82b602c..ab77256 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management +++ b/usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-enable-sshd b/usr/bin/steamos-polkit-helpers/steamos-enable-sshd index fa7698f..ba4ab84 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-enable-sshd +++ b/usr/bin/steamos-polkit-helpers/steamos-enable-sshd @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-factory-reset-config b/usr/bin/steamos-polkit-helpers/steamos-factory-reset-config index 3a2a367..aaeb20a 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-factory-reset-config +++ b/usr/bin/steamos-polkit-helpers/steamos-factory-reset-config @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-format-device b/usr/bin/steamos-polkit-helpers/steamos-format-device index d9866a9..dcfe6b9 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-format-device +++ b/usr/bin/steamos-polkit-helpers/steamos-format-device @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-format-sdcard b/usr/bin/steamos-polkit-helpers/steamos-format-sdcard index 6d9859f..53b4f2a 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-format-sdcard +++ b/usr/bin/steamos-polkit-helpers/steamos-format-sdcard @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-poweroff-now b/usr/bin/steamos-polkit-helpers/steamos-poweroff-now index 1841ce0..e7e234e 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-poweroff-now +++ b/usr/bin/steamos-polkit-helpers/steamos-poweroff-now @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-priv-write b/usr/bin/steamos-polkit-helpers/steamos-priv-write index 907133b..1c0f6c6 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-priv-write +++ b/usr/bin/steamos-polkit-helpers/steamos-priv-write @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-reboot-now b/usr/bin/steamos-polkit-helpers/steamos-reboot-now index b4dcc81..6dc8018 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-reboot-now +++ b/usr/bin/steamos-polkit-helpers/steamos-reboot-now @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-reboot-other b/usr/bin/steamos-polkit-helpers/steamos-reboot-other index ad466f2..60f9f8c 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-reboot-other +++ b/usr/bin/steamos-polkit-helpers/steamos-reboot-other @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-restart-sddm b/usr/bin/steamos-polkit-helpers/steamos-restart-sddm index 9e08cd6..189c805 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-restart-sddm +++ b/usr/bin/steamos-polkit-helpers/steamos-restart-sddm @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-retrigger-automounts b/usr/bin/steamos-polkit-helpers/steamos-retrigger-automounts index 4e92b57..2a5bfc4 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-retrigger-automounts +++ b/usr/bin/steamos-polkit-helpers/steamos-retrigger-automounts @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh # Helper to send reload to all active steamos-automount services, via pkexec if necessary/allowed diff --git a/usr/bin/steamos-polkit-helpers/steamos-select-branch b/usr/bin/steamos-polkit-helpers/steamos-select-branch index 1b1d6c1..73f8547 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-select-branch +++ b/usr/bin/steamos-polkit-helpers/steamos-select-branch @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-set-hostname b/usr/bin/steamos-polkit-helpers/steamos-set-hostname index f63e164..400ab9e 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-set-hostname +++ b/usr/bin/steamos-polkit-helpers/steamos-set-hostname @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-set-timezone b/usr/bin/steamos-polkit-helpers/steamos-set-timezone index 2811d82..a3935c4 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-set-timezone +++ b/usr/bin/steamos-polkit-helpers/steamos-set-timezone @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-trim-devices b/usr/bin/steamos-polkit-helpers/steamos-trim-devices index 38f92a1..296a6c7 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-trim-devices +++ b/usr/bin/steamos-polkit-helpers/steamos-trim-devices @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-update b/usr/bin/steamos-polkit-helpers/steamos-update index bae7403..1a7e948 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-update +++ b/usr/bin/steamos-polkit-helpers/steamos-update @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/lib/hwsupport/cirrus-fixup.sh b/usr/lib/hwsupport/cirrus-fixup.sh index b21b103..99bfe5f 100755 --- a/usr/lib/hwsupport/cirrus-fixup.sh +++ b/usr/lib/hwsupport/cirrus-fixup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh cd $1 diff --git a/usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh b/usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh index 995ec8d..cdfa14b 100755 --- a/usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh +++ b/usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh # These tend to persist, but they're not right on first boot # TODO call is_ev2.sh (doesn't exist yet) to only run it there? diff --git a/usr/lib/hwsupport/format-device.sh b/usr/lib/hwsupport/format-device.sh index f2115dd..4ece38e 100755 --- a/usr/lib/hwsupport/format-device.sh +++ b/usr/lib/hwsupport/format-device.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -e exec &> >(tee | logger -t steamos-format-device) diff --git a/usr/lib/hwsupport/format-sdcard.sh b/usr/lib/hwsupport/format-sdcard.sh index 36df682..3e13083 100755 --- a/usr/lib/hwsupport/format-sdcard.sh +++ b/usr/lib/hwsupport/format-sdcard.sh @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/sh exec /usr/lib/hwsupport/format-device.sh --device /dev/mmcblk0 "$@" diff --git a/usr/lib/hwsupport/jupiter-amp-control b/usr/lib/hwsupport/jupiter-amp-control index c3d7add..68aa4e4 100755 --- a/usr/lib/hwsupport/jupiter-amp-control +++ b/usr/lib/hwsupport/jupiter-amp-control @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -e diff --git a/usr/lib/hwsupport/power-button-handler.py b/usr/lib/hwsupport/power-button-handler.py index 1a46251..cbf7857 100755 --- a/usr/lib/hwsupport/power-button-handler.py +++ b/usr/lib/hwsupport/power-button-handler.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/bin/env python3 -u import evdev import threading diff --git a/usr/lib/hwsupport/steamos-automount.sh b/usr/lib/hwsupport/steamos-automount.sh index bdac3c4..547e923 100755 --- a/usr/lib/hwsupport/steamos-automount.sh +++ b/usr/lib/hwsupport/steamos-automount.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -euo pipefail diff --git a/usr/lib/hwsupport/trim-devices.sh b/usr/lib/hwsupport/trim-devices.sh index f5b3e8e..cc438af 100755 --- a/usr/lib/hwsupport/trim-devices.sh +++ b/usr/lib/hwsupport/trim-devices.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -e diff --git a/usr/share/jupiter_bios_updater/H2OFFTx64-G.sh b/usr/share/jupiter_bios_updater/H2OFFTx64-G.sh index 8089778..f0d591e 100755 --- a/usr/share/jupiter_bios_updater/H2OFFTx64-G.sh +++ b/usr/share/jupiter_bios_updater/H2OFFTx64-G.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh TARGET_DIR=. EXE_FILE=h2offt-g diff --git a/usr/share/jupiter_bios_updater/H2OFFTx64.sh b/usr/share/jupiter_bios_updater/H2OFFTx64.sh index ab3513f..9243bf3 100755 --- a/usr/share/jupiter_bios_updater/H2OFFTx64.sh +++ b/usr/share/jupiter_bios_updater/H2OFFTx64.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh TARGET_DIR=. EXE_FILE=h2offt diff --git a/usr/share/jupiter_controller_fw_updater/d20bootloader.py b/usr/share/jupiter_controller_fw_updater/d20bootloader.py index dadd0ef..27b8bc8 100755 --- a/usr/share/jupiter_controller_fw_updater/d20bootloader.py +++ b/usr/share/jupiter_controller_fw_updater/d20bootloader.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 # -*- coding: utf-8 -*- import click import crcmod diff --git a/usr/share/jupiter_controller_fw_updater/d21bootloader16.py b/usr/share/jupiter_controller_fw_updater/d21bootloader16.py index 5ee6d41..c662149 100755 --- a/usr/share/jupiter_controller_fw_updater/d21bootloader16.py +++ b/usr/share/jupiter_controller_fw_updater/d21bootloader16.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 import click import crcmod import datetime