Compare commits
2 commits
76a6d32738
...
5922baf8d1
| Author | SHA1 | Date | |
|---|---|---|---|
| 5922baf8d1 | |||
| fd662a6af9 |
2 changed files with 11 additions and 0 deletions
|
|
@ -74,6 +74,16 @@ while [ ! -z "$1" ]; do
|
|||
shift
|
||||
shift
|
||||
;;
|
||||
--enable-ssh)
|
||||
echo "Allowing ~/.ssh access"
|
||||
# This is only fine because my local .ssh directory contains only a Yubikey pubkey
|
||||
add_ro_bind "$HOME/.ssh"
|
||||
# And allow ssh agent
|
||||
add_bind "$SSH_AUTH_SOCK"
|
||||
# Nuke the system-wide ssh path inside the container
|
||||
BWRAP_ARGS+=(--tmpfs /etc/ssh)
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
PI_ARGS+=("$1")
|
||||
shift
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@
|
|||
|
||||
ffmpeg -i "$1" "$2"
|
||||
sed -E -i 's/<[^>]+>//g' "$2"
|
||||
sed -E -i 's/\{[^}]+\}//g' "$2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue