From de1bb3ef213ac7c147d00c9ac2edfe8b14f7ad4d Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Thu, 18 Jan 2024 02:27:38 +0100 Subject: [PATCH] Add shebangs to script --- scripts/emergency-lapetus.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/emergency-lapetus.sh b/scripts/emergency-lapetus.sh index bfa2caa..aeeb3ca 100755 --- a/scripts/emergency-lapetus.sh +++ b/scripts/emergency-lapetus.sh @@ -1,3 +1,8 @@ +#!/usr/bin/env nix-shell +#!nix-shell ./devshells/bootstrap/shell.nix +#!nix shell disko +#!nix-shell -i bash + # Check if at least one argument is provided if [ "$#" -eq 0 ]; then echo "Usage: $0 [action]" @@ -16,10 +21,6 @@ if [ "$#" != "1" ] && [ "$2" != "install" ] && [ "$2" != "enter" ]; then exit 1 fi -echo "Entering shells..." -exec nix-shell ./devshells/bootstrap/shell.nix -exec nix shell disko - echo "Mounting keys" sudo mkdir /hermes sudo mount /dev/disk/by-uuid/7FE7-CA68 /hermes