Skip to content

Commit

Permalink
ssh: copyAgent.sh: Add iptables dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ish-hcc committed Aug 26, 2024
1 parent b987de2 commit da497b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/lib/ssh/sourceFiles/copyAgent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ then
fi
}
Initializer() {
if [ -x "$(command -v curl)" ] && [ -x "$(command -v wget)" ]; then
if [ -x "$(command -v curl)" ] && [ -x "$(command -v wget)" && [ -x "$(command -v iptables)" ]; then
# echo "[Initializer] --PASS"
echo ""

sleep 1

else
NEEDED_DEPS=(curl wget)
NEEDED_DEPS=(curl wget iptables)
# echo "패키지 설치 :" "${NEEDED_DEPS[@]}"

if [ -x "$(command -v apt-get)" ]
Expand Down

0 comments on commit da497b8

Please sign in to comment.