Compare commits
3 Commits
6ac58634b8
...
3971ab3f20
Author | SHA1 | Date | |
---|---|---|---|
3971ab3f20 | |||
3613da33cf | |||
41cbf74c48 |
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ `which unbound-$1 2>/dev/null` ]; then
|
if [ `which "unbound-$1" 2>/dev/null` ]; then
|
||||||
set -- unbound-"$@"
|
set -- unbound-"$@"
|
||||||
elif [ ! `which $1 2>/dev/null` ]; then
|
elif [ ! `which "$1" 2>/dev/null` ]; then
|
||||||
set -- unbound -dv "$@"
|
set -- unbound -dv "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
router.GET("/api/grades/", apiHandler(computeGrades))
|
router.GET("/api/grades/", remoteValidatorHandler(apiHandler(computeGrades)))
|
||||||
}
|
}
|
||||||
|
|
||||||
func computeGrades(_ httprouter.Params, _ []byte) (interface{}, error) {
|
func computeGrades(_ httprouter.Params, _ []byte) (interface{}, error) {
|
||||||
|
@ -780,7 +780,7 @@ files:
|
|||||||
- path: /usr/sbin/join-maatma
|
- path: /usr/sbin/join-maatma
|
||||||
contents: |
|
contents: |
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -s "/var/lib/adlin/wireguard/adlin.token" ] && echo "A token is already defined. You'll erase it it you continue."
|
[ -s "/var/lib/adlin/wireguard/adlin.token" ] && echo "A token is already defined. You'll erase it if you continue."
|
||||||
echo -n "Please copy your token here: "
|
echo -n "Please copy your token here: "
|
||||||
read WGTOKEN
|
read WGTOKEN
|
||||||
mkdir -p /var/lib/adlin/wireguard/
|
mkdir -p /var/lib/adlin/wireguard/
|
||||||
|
Reference in New Issue
Block a user