summarylogtreecommitdiffstats
path: root/tor.install
blob: 8ff15c1fb121882706b2d3feb06c1fe4994bac8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
  echo "==> "
  echo "==> Tor has been preconfigured to run as a client only"
  echo "==> Tor is experimental software, Do not rely on it for strong anonymity."
  echo "==> "
}

post_upgrade() {
  post_install
  [[ $(id -g tor) = '43' ]] || {
        echo -n ">>> Updating tor user..."
        groupmod --gid 43 tor
        usermod  --uid 43 tor
        echo " done"
    }
}