Cleanup
This commit is contained in:
parent
8277b21660
commit
e2a9c4a0c3
@ -120,8 +120,8 @@ EOF
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck disable=SC2154,SC2039,SC3047
|
|
||||||
start_setup() {
|
start_setup() {
|
||||||
|
# shellcheck disable=SC2154
|
||||||
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
||||||
trap 'finish $? $((dlo+1))' EXIT
|
trap 'finish $? $((dlo+1))' EXIT
|
||||||
mkdir -p /opt/src
|
mkdir -p /opt/src
|
||||||
|
@ -138,8 +138,8 @@ EOF
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck disable=SC2154,SC2039,SC3047
|
|
||||||
start_setup() {
|
start_setup() {
|
||||||
|
# shellcheck disable=SC2154
|
||||||
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
||||||
trap 'finish $? $((dlo+1))' EXIT
|
trap 'finish $? $((dlo+1))' EXIT
|
||||||
mkdir -p /opt/src
|
mkdir -p /opt/src
|
||||||
|
@ -147,8 +147,8 @@ EOF
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck disable=SC2154,SC2039,SC3047
|
|
||||||
start_setup() {
|
start_setup() {
|
||||||
|
# shellcheck disable=SC2154
|
||||||
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
||||||
trap 'finish $? $((dlo+1))' EXIT
|
trap 'finish $? $((dlo+1))' EXIT
|
||||||
mkdir -p /opt/src
|
mkdir -p /opt/src
|
||||||
|
@ -113,9 +113,9 @@ check_dns() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck disable=SC2154,SC2039,SC3047
|
|
||||||
start_setup() {
|
start_setup() {
|
||||||
bigecho "VPN setup in progress... Please be patient."
|
bigecho "VPN setup in progress... Please be patient."
|
||||||
|
# shellcheck disable=SC2154
|
||||||
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
||||||
trap 'finish $? $((dlo+1))' EXIT
|
trap 'finish $? $((dlo+1))' EXIT
|
||||||
mkdir -p /opt/src
|
mkdir -p /opt/src
|
||||||
|
@ -132,9 +132,9 @@ check_dns() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck disable=SC2154,SC2039,SC3047
|
|
||||||
start_setup() {
|
start_setup() {
|
||||||
bigecho "VPN setup in progress... Please be patient."
|
bigecho "VPN setup in progress... Please be patient."
|
||||||
|
# shellcheck disable=SC2154
|
||||||
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
||||||
trap 'finish $? $((dlo+1))' EXIT
|
trap 'finish $? $((dlo+1))' EXIT
|
||||||
mkdir -p /opt/src
|
mkdir -p /opt/src
|
||||||
|
@ -149,9 +149,9 @@ check_iptables() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# shellcheck disable=SC2154,SC2039,SC3047
|
|
||||||
start_setup() {
|
start_setup() {
|
||||||
bigecho "VPN setup in progress... Please be patient."
|
bigecho "VPN setup in progress... Please be patient."
|
||||||
|
# shellcheck disable=SC2154
|
||||||
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
trap 'dlo=$dl;dl=$LINENO' DEBUG 2>/dev/null
|
||||||
trap 'finish $? $((dlo+1))' EXIT
|
trap 'finish $? $((dlo+1))' EXIT
|
||||||
mkdir -p /opt/src
|
mkdir -p /opt/src
|
||||||
|
Loading…
Reference in New Issue
Block a user