You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
|
|
if [ "$WHOOGLE_TOR_SERVICE" == "0" ]; then
|
|
echo "Skipping Tor startup..."
|
|
exit 0
|
|
fi
|
|
|
|
if [ "$(whoami)" != "root" ]; then
|
|
tor -f /etc/tor/torrc
|
|
else
|
|
if (grep alpine /etc/os-release >/dev/null); then
|
|
rc-service tor start
|
|
else
|
|
service tor start
|
|
fi
|
|
fi
|