fickit: add helper script to simplify nsenter

This commit is contained in:
nemunaire 2019-01-19 14:34:07 +01:00
commit 9784310dc0
5 changed files with 49 additions and 0 deletions

7
configs/nsenter_process.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
PROC="$1"
shift
nsenter -t $(pgrep "$PROC" | head -1) $@
exit $?