Compare commits
4 Commits
e2d0f220e4
...
1.3
Author | SHA1 | Date | |
---|---|---|---|
aad26d3fdd | |||
87a453c24c | |||
19eef79c2d | |||
48bfbd0a15 |
@ -9,3 +9,10 @@ Select a ssh config file which will be used to connect to a host via - you guess
|
||||
```
|
||||
|
||||
Sample structure of `start directory` can be found in `test`.
|
||||
|
||||
## Quickstart
|
||||
```
|
||||
mkdir ~/.s3h
|
||||
touch root@example.org
|
||||
./s3h.sh
|
||||
```
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
NAME=s3h
|
||||
VERSION=1.1
|
||||
VERSION=1.2
|
||||
REVISION=1
|
||||
ARCH=all
|
||||
|
||||
@ -11,7 +11,7 @@ workdir="$curdir/${NAME}_${VERSION}-${REVISION}_${ARCH}"
|
||||
mkdir -p "$workdir"
|
||||
|
||||
mkdir -p "$workdir/usr/bin"
|
||||
wget -O "$workdir/usr/bin/s3h" "https://source.devloop.de/damage/s3h/raw/branch/main/s3h.sh"
|
||||
wget -O "$workdir/usr/bin/s3h" "https://source.devloop.de/damage/s3h/raw/tag/$VERSION/s3h.sh"
|
||||
chmod 0777 "$workdir/usr/bin/s3h"
|
||||
|
||||
mkdir "$workdir/DEBIAN"
|
7
s3h.sh
7
s3h.sh
@ -3,6 +3,13 @@
|
||||
# config
|
||||
DIALOG=dialog #gdialog kdialog
|
||||
START_DIR='~/.s3h'
|
||||
VERSION="1.3"
|
||||
|
||||
# TODO: use opt parsing
|
||||
if [[ $# -eq 1 && "$1" == "-v" ]]; then
|
||||
echo "$VERSION"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ $# -eq 1 && -d "$1" ]]; then
|
||||
START_DIR="$1"
|
||||
|
1
test/foo11/.options
Normal file
1
test/foo11/.options
Normal file
@ -0,0 +1 @@
|
||||
-o AddKeysToAgent=yes
|
Reference in New Issue
Block a user