whoogle-search/config/tor/start-tor.sh

8 lines
104 B
Bash
Executable File

#!/bin/bash
if [ "$(whoami)" != "root" ]; then
tor -f /etc/tor/torrc
else
service tor start
fi