We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4aec25e commit a089fbfCopy full SHA for a089fbf
fs/etc/services.d/nordvpn/run
@@ -1,21 +1,5 @@
1
#!/bin/bash
2
3
-legacy_supported=$(lsmod | grep ip_tables >/dev/null 2>&1 && echo yes || echo no)
4
-nft_supported=$(lsmod | grep nf_tables >/dev/null 2>&1 && echo yes || echo no)
5
-if [ x$IPTABLES = xlegacy ] ; then
6
- if [ x$legacy_supported = xyes ] ; then
7
- update-alternatives --set iptables /usr/sbin/iptables-legacy
8
- else
9
- update-alternatives --set iptables /usr/sbin/iptables-nft
10
- fi
11
-else
12
- if [ x$nft_supported = xyes ] ; then
13
14
15
16
17
-fi
18
-
19
if [[ ! -d /run/nordvpn ]]; then
20
mkdir -m 0770 /run/nordvpn
21
fi
0 commit comments