diff --git a/connect_to_openvpn_with_token.sh b/connect_to_openvpn_with_token.sh index f1eb570..b7c2c08 100755 --- a/connect_to_openvpn_with_token.sh +++ b/connect_to_openvpn_with_token.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2020 Private Internet Access, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/connect_to_wireguard_with_token.sh b/connect_to_wireguard_with_token.sh index bda0ce1..f260638 100755 --- a/connect_to_wireguard_with_token.sh +++ b/connect_to_wireguard_with_token.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2020 Private Internet Access, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/get_region.sh b/get_region.sh index 0fc67cd..3347b19 100755 --- a/get_region.sh +++ b/get_region.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2020 Private Internet Access, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/get_token.sh b/get_token.sh index 6a74935..da59392 100755 --- a/get_token.sh +++ b/get_token.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2020 Private Internet Access, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/openvpn_config/openvpn_down.sh b/openvpn_config/openvpn_down.sh index 175ad43..24d47b5 100755 --- a/openvpn_config/openvpn_down.sh +++ b/openvpn_config/openvpn_down.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Remove process and route information when connection closes rm -rf /opt/piavpn-manual/pia_pid /opt/pia-manual/route_info diff --git a/openvpn_config/openvpn_down_dnsoverwrite.sh b/openvpn_config/openvpn_down_dnsoverwrite.sh index 44cb2d3..900d403 100755 --- a/openvpn_config/openvpn_down_dnsoverwrite.sh +++ b/openvpn_config/openvpn_down_dnsoverwrite.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Remove process and route information when connection closes rm -rf /opt/piavpn-manual/pia_pid /opt/pia-manual/route_info diff --git a/openvpn_config/openvpn_up.sh b/openvpn_config/openvpn_up.sh index 98399b0..53fc6f3 100755 --- a/openvpn_config/openvpn_up.sh +++ b/openvpn_config/openvpn_up.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Write gateway IP for reference echo $route_vpn_gateway > /opt/piavpn-manual/route_info diff --git a/openvpn_config/openvpn_up_dnsoverwrite.sh b/openvpn_config/openvpn_up_dnsoverwrite.sh index 90f2a5b..e5bf4a9 100755 --- a/openvpn_config/openvpn_up_dnsoverwrite.sh +++ b/openvpn_config/openvpn_up_dnsoverwrite.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Write gateway IP for reference echo $route_vpn_gateway > /opt/piavpn-manual/route_info diff --git a/port_forwarding.sh b/port_forwarding.sh index 2e48198..c39dab2 100755 --- a/port_forwarding.sh +++ b/port_forwarding.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2020 Private Internet Access, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/run_setup.sh b/run_setup.sh index dd7a4e9..b4b3538 100755 --- a/run_setup.sh +++ b/run_setup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (C) 2020 Private Internet Access, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy