shebangs fixed
authorThomas Walker Lynch <eknp9n@reasoningtechnology.com>
Thu, 25 Sep 2025 12:18:38 +0000 (12:18 +0000)
committerThomas Walker Lynch <eknp9n@reasoningtechnology.com>
Thu, 25 Sep 2025 12:18:38 +0000 (12:18 +0000)
13 files changed:
developer/source/mount/device_mapname__open_mount.sh
developer/source/mount/device_umount.sh
developer/source/mount/disable_linger.sh
developer/source/mount/logout_subu.sh
developer/source/mount/mapname__mounted_masu_list.sh
developer/source/mount/mapname_masu__to_home.sh
developer/source/mount/masu__map_own_all.sh
developer/source/mount/masu__subu_data_dir_list.sh
developer/source/mount/masu__subu_dir_list.sh
developer/source/mount/masu_subu__map_own.sh
developer/source/mount/masu_subu__map_own_orig.sh
developer/source/mount/masu_subu__uid.sh
developer/source/mount/mount_pt_list.sh

index 20df0e1..130c925 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/env bash
 
 if [[ $EUID -ne 0 ]]; then
   echo "❌ This script must be run as root." >&2
index 7bc8275..fd2e819 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/env bash
 
 if [[ $EUID -ne 0 ]]; then
   echo "❌ This script must be run as root." >&2
index a9fffdd..8a95198 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/env bash
 # disable_linger_subu — turn off systemd --user lingering for all <masu>-* users
 # Usage: sudo disable_linger_subu --masu Thomas
 
index 9e95cb2..e9e7280 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!#!/bin/env bash
 # logout_subu — cleanly stop subu users, tear down bindfs, unbind /home, unmount device, close LUKS
 # Usage:
 #   sudo logout_subu --masu Thomas --device Eagle [--aggressive] [--dry-run]
index 0ef5381..bd83a46 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/env bash
 
 # Function to list users in the /mnt/<device>/user_data directory
 device_user_list() {
index e708f8e..89a8acc 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/env bash
 
 # Function to bind mount a user's data to /home/<user>
 device_user_bind() {
index 8e14329..0bcfb92 100755 (executable)
@@ -1,5 +1,6 @@
+#!/bin/env bash
 # masu__map_own_all.sh
-#!/bin/bash
+
 set -euo pipefail
 masu="${1:?Usage: $0 <masu> [--suid=subu1,subu2] }"
 suid_list="${2-}"  # optional: --suid=a,b,c
index 5c7e405..ccfc890 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/env bash
 
 # Function to list sub-users in /home/<user>/subu_data
 subu_home_dir_list() {
index b05af66..be20e59 100755 (executable)
@@ -1,5 +1,6 @@
+#!/bin/env bash
 # masu__subu_dir_list.sh
-#!/bin/bash
+
 set -euo pipefail
 user="${1:?usage: $0 <masu>}"
 
index 319437c..5244658 100755 (executable)
@@ -1,5 +1,6 @@
+#!/bin/env bash
 # masu_subu__map_own.sh
-#!/bin/bash
+
 # usage: sudo ./masu_subu__map_own.sh <masu> <subu> [--suid]
 set -euo pipefail
 
index fa039a7..09b23cb 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/env bash
 
 # Function to bind mount with UID/GID mapping
 subu_bind() {
index fcb7175..4c58373 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash                                                                                                                                
+#!/bin/env bash
 
 # Function to lookup the UID of the user and sub-user combination                                                                          
 get_subu_uid() {
index 79f261b..45695f5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/env bash
 
 # Function to list available devices under /mnt, excluding /mnt itself
 mount_pt_list() {