initial import
This commit is contained in:
8
rootfs/app/restricted-ssh
Executable file
8
rootfs/app/restricted-ssh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$1" = "borg" ] && [ "$2" = "serve" ] ; then
|
||||
# shellcheck disable=SC2068
|
||||
$@ --restrict-to-path /data
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user