Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit 1c473f3

Browse files
author
Wyatt Gill
authored
Fix file redirections
1 parent e4e22c9 commit 1c473f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

data/entry.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ if [ "$TINYPROXY" = "on" ]; then
127127
{
128128
echo "[INFO] Running Tinyproxy"
129129
# Wait for VPN connection to be established
130-
while ! ping -c 1 1.1.1.1 > /dev/null 2&>1; do
130+
while ! ping -c 1 1.1.1.1 > /dev/null 2>&1; do
131131
sleep 1
132132
done
133133

@@ -154,7 +154,7 @@ fi
154154
if [ "$SHADOWSOCKS" = "on" ]; then
155155
{
156156
echo "[INFO] Running Shadowsocks"
157-
while ! ping -c 1 1.1.1.1 > /dev/null 2&>1; do
157+
while ! ping -c 1 1.1.1.1 > /dev/null 2>&1; do
158158
sleep 1
159159
done
160160

@@ -172,4 +172,4 @@ cd /etc/openvpn
172172

173173
echo "[INFO] Running OpenVPN"
174174

175-
openvpn --verb $vpn_log_level --auth-nocache --config $config_file
175+
openvpn --verb $vpn_log_level --auth-nocache --config $config_file

0 commit comments

Comments
 (0)