mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
update for shellcheck
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
544e14ecb0
commit
3a10b0889e
|
@ -12,4 +12,4 @@ for relaytype in bridge middle exit; do
|
||||||
sed -i 's/${RELAY_PORT}/'"$RELAY_PORT"'/g' "/etc/tor/torrc.$relaytype"
|
sed -i 's/${RELAY_PORT}/'"$RELAY_PORT"'/g' "/etc/tor/torrc.$relaytype"
|
||||||
done
|
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
|
chown -R unifi:unifi /config /usr/lib/unifi
|
||||||
|
|
||||||
|
# shellcheck disable=SC2068
|
||||||
exec gosu unifi $@
|
exec gosu unifi $@
|
||||||
|
|
|
@ -13,4 +13,5 @@ make clean
|
||||||
|
|
||||||
echo "Successfully built and installed the wireguard kernel module!"
|
echo "Successfully built and installed the wireguard kernel module!"
|
||||||
|
|
||||||
|
# shellcheck disable=SC2068
|
||||||
exec $@
|
exec $@
|
||||||
|
|
|
@ -11,6 +11,7 @@ LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
pcscd \
|
pcscd \
|
||||||
|
procps \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
--no-install-recommends && \
|
--no-install-recommends && \
|
||||||
add-apt-repository ppa:yubico/stable && \
|
add-apt-repository ppa:yubico/stable && \
|
||||||
|
|
|
@ -3,7 +3,8 @@ set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
init(){
|
init(){
|
||||||
local pcscd_running=$(ps -aux | grep [p]cscd)
|
local pcscd_running
|
||||||
|
pcscd_running=$(pgrep pcscd)
|
||||||
if [ -z "$pcscd_running" ]; then
|
if [ -z "$pcscd_running" ]; then
|
||||||
echo "starting pcscd in backgroud"
|
echo "starting pcscd in backgroud"
|
||||||
pcscd --debug --apdu
|
pcscd --debug --apdu
|
||||||
|
|
|
@ -3,7 +3,8 @@ set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
init(){
|
init(){
|
||||||
local pcscd_running=$(ps -aux | grep [p]cscd)
|
local pcscd_running
|
||||||
|
pcscd_running=$(pgrep pcscd)
|
||||||
if [ -z "$pcscd_running" ]; then
|
if [ -z "$pcscd_running" ]; then
|
||||||
echo "starting pcscd in backgroud"
|
echo "starting pcscd in backgroud"
|
||||||
pcscd --debug --apdu
|
pcscd --debug --apdu
|
||||||
|
|
|
@ -15,6 +15,7 @@ RUN apt-get update && apt-get install -y \
|
||||||
add-apt-repository ppa:yubico/stable && \
|
add-apt-repository ppa:yubico/stable && \
|
||||||
apt-get update && apt-get install -y \
|
apt-get update && apt-get install -y \
|
||||||
pcscd \
|
pcscd \
|
||||||
|
procps \
|
||||||
usbutils \
|
usbutils \
|
||||||
yubico-piv-tool \
|
yubico-piv-tool \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
|
@ -3,7 +3,8 @@ set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
init(){
|
init(){
|
||||||
local pcscd_running=$(ps -aux | grep [p]cscd)
|
local pcscd_running
|
||||||
|
pcscd_running=$(pgrep pcscd)
|
||||||
if [ -z "$pcscd_running" ]; then
|
if [ -z "$pcscd_running" ]; then
|
||||||
echo "starting pcscd in backgroud"
|
echo "starting pcscd in backgroud"
|
||||||
pcscd --debug --apdu
|
pcscd --debug --apdu
|
||||||
|
|
Loading…
Reference in New Issue
Block a user