Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sengshinlee authored Jan 31, 2024
1 parent 341f81f commit a9183fe
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 335 deletions.
Binary file removed mirrors/wireguard-android-latest.apk
Binary file not shown.
328 changes: 0 additions & 328 deletions mirrors/wireguard-ubuntu-latest.sh

This file was deleted.

Binary file removed mirrors/wireguard-windows-latest-amd64.msi
Binary file not shown.
Binary file removed mirrors/wireguard-windows-latest-arm64.msi
Binary file not shown.
Binary file removed mirrors/wireguard-windows-latest-x86.msi
Binary file not shown.
14 changes: 7 additions & 7 deletions wireguard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function version() {
if [ ${IS_INSTALLED} -eq 0 ]; then
wg -v
else
echo "> Uninstalled!"
echo "> Not installed!"
fi
}
Expand Down Expand Up @@ -136,7 +136,7 @@ function create_wg_if() {
create_server_if
create_client_if
else
echo "> Uninstalled!"
echo "> Not installed!"
fi
}
Expand Down Expand Up @@ -178,7 +178,7 @@ function show() {
if [ ${IS_INSTALLED} -eq 0 ]; then
wg | grep "interface" | awk '{print $2}'
else
echo "> Uninstalled!"
echo "> Not installed!"
fi
}
Expand All @@ -205,7 +205,7 @@ function up_wg() {
fi
done
else
echo "> Uninstalled!"
echo "> Not installed!"
fi
}
Expand Down Expand Up @@ -251,7 +251,7 @@ function down_wg() {
fi
done
else
echo "> Uninstalled!"
echo "> Not installed!"
fi
}
Expand All @@ -277,7 +277,7 @@ function remove_wg_if() {
fi
done
else
echo "> Uninstalled!"
echo "> Not installed!"
fi
}
Expand All @@ -298,7 +298,7 @@ function uninstall_wg_tools() {
apt-get remove wireguard-tools -y >/dev/null 2>&1
rm -rf /etc/wireguard >/dev/null 2>&1
else
echo "> Uninstalled!"
echo "> Not installed!"
fi
}
Expand Down

0 comments on commit a9183fe

Please sign in to comment.