This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Wraps aursync command to mount an amazon s3 bucket which contains a repository | |
set -uo pipefail | |
trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR | |
INTERFACE=wlp58s0 | |
wpa() { | |
wpa_cli -i "${INTERFACE}" "$@" | |
} |