mirror of
https://github.com/maxkratz/dockerfiles.git
synced 2024-09-08 00:03:50 +00:00
update for shellcheck
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
544e14ecb0
commit
3a10b0889e
8 changed files with 11 additions and 4 deletions
|
@ -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}"
|
||||
|
|
|
@ -34,4 +34,5 @@ fi
|
|||
|
||||
chown -R unifi:unifi /config /usr/lib/unifi
|
||||
|
||||
# shellcheck disable=SC2068
|
||||
exec gosu unifi $@
|
||||
|
|
|
@ -13,4 +13,5 @@ make clean
|
|||
|
||||
echo "Successfully built and installed the wireguard kernel module!"
|
||||
|
||||
# shellcheck disable=SC2068
|
||||
exec $@
|
||||
|
|
|
@ -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 && \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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/*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue