sane-scripts: lift sane-mount-servo
out of resholve
This commit is contained in:
parent
c542e120ef
commit
7907623887
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user