sane-scripts: lift sane-mount-servo out of resholve

This commit is contained in:
Colin 2023-06-06 08:24:32 +00:00
parent c542e120ef
commit 7907623887
3 changed files with 19 additions and 2 deletions

View File

@ -39,6 +39,7 @@ let
openssh
openssl
nix-shell-scripts.ip-check
nix-shell-scripts.mount-servo
rmlint
rsync
ssh-to-age
@ -184,6 +185,16 @@ let
pname = "sane-ip-reconnect";
src = ./src;
};
mount-servo = static-nix-shell.mkBash {
pname = "sane-mount-servo";
src = ./src;
pkgs = [ "coreutils-full" ];
};
mount-servo-root = static-nix-shell.mkBash {
pname = "sane-mount-servo-root";
src = ./src;
pkgs = [ "coreutils-full" ];
};
reclaim-boot-space = static-nix-shell.mkPython3Bin {
pname = "sane-reclaim-boot-space";
src = ./src;

View File

@ -1,4 +1,7 @@
#!/usr/bin/env bash
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p coreutils-full
#^ requires `sudo` and `mount` to be installed system-wide (suid)
set -ex
# if lan not mounted, then try to mount it

View File

@ -1,4 +1,7 @@
#!/usr/bin/env bash
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p coreutils-full
#^ requires `sudo` and `mount` to be installed system-wide (suid)
#
set -ex
# if lan not mounted, then try to mount it