Update 2024-12-22 16:36 OpenBSD/amd64-t14
This commit is contained in:
parent
d0c4c84117
commit
2e1234e383
23
.bin/aria
23
.bin/aria
@ -10,7 +10,7 @@ do
|
||||
OPTS="$OPTS
|
||||
--seed-ratio=0.0
|
||||
--max-overall-upload-limit=5M
|
||||
--max-overall-download-limit=1
|
||||
--max-overall-download-limit=200K
|
||||
--check-integrity=true
|
||||
--bt-hash-check-seed=true
|
||||
--bt-seed-unverified=true
|
||||
@ -19,7 +19,7 @@ do
|
||||
shift ;;
|
||||
download|dl)
|
||||
OPTS="$OPTS
|
||||
--max-overall-upload-limit=1
|
||||
--max-overall-upload-limit=200K
|
||||
--max-overall-download-limit=85M
|
||||
--seed-time=0
|
||||
--lowest-speed-limit=30K
|
||||
@ -28,11 +28,19 @@ do
|
||||
-j 6
|
||||
"
|
||||
shift ;;
|
||||
overwrite|over|force)
|
||||
overwrite|force)
|
||||
OPTS="$OPTS
|
||||
--allow-overwrite=true"
|
||||
--allow-overwrite=true
|
||||
"
|
||||
shift ;;
|
||||
1) OPTS="$OPTS -j 1"
|
||||
enc|encrypt) OPTS="$OPTS
|
||||
--bt-require-crypto
|
||||
--bt-min-crypto-level=arc4
|
||||
"
|
||||
shift ;;
|
||||
seq|1) OPTS="$OPTS
|
||||
-j 1 -Z
|
||||
"
|
||||
shift ;;
|
||||
esac
|
||||
done
|
||||
@ -44,10 +52,15 @@ DEFAULT="\
|
||||
--enable-peer-exchange=false
|
||||
--auto-save-interval=30
|
||||
--save-session-interval=30
|
||||
--listen-port=55500
|
||||
--dht-listen-port=55500
|
||||
--bt-enable-lpd=false
|
||||
--log-level=info
|
||||
--disk-cache=256M
|
||||
--bt-save-metadata=true
|
||||
--bt-load-saved-metadata=true
|
||||
--bt-prioritize-piece=head=10M,tail=10M
|
||||
--content-disposition-default-utf8=true
|
||||
--log=$DIR/aria2.log
|
||||
--dht-file-path=$DIR/dht.dat
|
||||
--dht-file-path6=$DIR/dht6.dat
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
ipmitool -U ADMIN -P $(pass Local/TweetyIPMI | head -1) \
|
||||
-I lanplus -H 10.20.30.21 $@;
|
||||
-I lanplus -H tweety-ipmi.home.codevoid.de $@;
|
||||
|
2
.bin/samba
Executable file
2
.bin/samba
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
doas doas rcctl -f $1 smbd nmbd;
|
Loading…
Reference in New Issue
Block a user