This commit is contained in:
Maurice Debray 2025-03-13 22:56:48 +01:00
commit a5ec84312e
No known key found for this signature in database
2 changed files with 13 additions and 0 deletions

3
serve.sh Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
sudo capsh --keep=1 --user="$USER" --inh='cap_net_bind_service' --addamb='cap_net_bind_service' -- -c 'tftpy_server.py -r ./output'

10
shell.nix Normal file
View file

@ -0,0 +1,10 @@
let
pkgs = import <nixpkgs> { };
in
pkgs.mkShell {
packages = with pkgs; [
python3.pkgs.tftpy
minicom
];
}