update for shellcheck

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-09-24 18:36:11 -04:00
parent 544e14ecb0
commit 3a10b0889e
No known key found for this signature in database
GPG key ID: 18F3685C0022BFF3
8 changed files with 11 additions and 4 deletions

View file

@ -12,4 +12,4 @@ for relaytype in bridge middle exit; do
sed -i 's/${RELAY_PORT}/'"$RELAY_PORT"'/g' "/etc/tor/torrc.$relaytype"
done
exec tor -f /etc/tor/torrc.${RELAY_TYPE}
exec tor -f "/etc/tor/torrc.${RELAY_TYPE}"

View file

@ -34,4 +34,5 @@ fi
chown -R unifi:unifi /config /usr/lib/unifi
# shellcheck disable=SC2068
exec gosu unifi $@

View file

@ -13,4 +13,5 @@ make clean
echo "Successfully built and installed the wireguard kernel module!"
# shellcheck disable=SC2068
exec $@

View file

@ -11,6 +11,7 @@ LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apt-get update && apt-get install -y \
pcscd \
procps \
software-properties-common \
--no-install-recommends && \
add-apt-repository ppa:yubico/stable && \

View file

@ -3,7 +3,8 @@ set -e
set -o pipefail
init(){
local pcscd_running=$(ps -aux | grep [p]cscd)
local pcscd_running
pcscd_running=$(pgrep pcscd)
if [ -z "$pcscd_running" ]; then
echo "starting pcscd in backgroud"
pcscd --debug --apdu

View file

@ -3,7 +3,8 @@ set -e
set -o pipefail
init(){
local pcscd_running=$(ps -aux | grep [p]cscd)
local pcscd_running
pcscd_running=$(pgrep pcscd)
if [ -z "$pcscd_running" ]; then
echo "starting pcscd in backgroud"
pcscd --debug --apdu

View file

@ -15,6 +15,7 @@ RUN apt-get update && apt-get install -y \
add-apt-repository ppa:yubico/stable && \
apt-get update && apt-get install -y \
pcscd \
procps \
usbutils \
yubico-piv-tool \
&& rm -rf /var/lib/apt/lists/*

View file

@ -3,7 +3,8 @@ set -e
set -o pipefail
init(){
local pcscd_running=$(ps -aux | grep [p]cscd)
local pcscd_running
pcscd_running=$(pgrep pcscd)
if [ -z "$pcscd_running" ]; then
echo "starting pcscd in backgroud"
pcscd --debug --apdu