Compare commits

..

No commits in common. "3971ab3f201c713ea1ba6df123b9bf0986365abd" and "6ac58634b89dc44d4f5d898ad16781db1761db97" have entirely different histories.

3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -7,7 +7,7 @@ import (
) )
func init() { func init() {
router.GET("/api/grades/", remoteValidatorHandler(apiHandler(computeGrades))) router.GET("/api/grades/", apiHandler(computeGrades))
} }
func computeGrades(_ httprouter.Params, _ []byte) (interface{}, error) { func computeGrades(_ httprouter.Params, _ []byte) (interface{}, error) {

View File

@ -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 if you continue." [ -s "/var/lib/adlin/wireguard/adlin.token" ] && echo "A token is already defined. You'll erase it it 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/