summarylogtreecommitdiffstats
path: root/tor-router.install
diff options
context:
space:
mode:
authorEduard Tolosa2023-04-15 19:21:56 -0500
committerEduard Tolosa2023-04-15 19:21:56 -0500
commit1c51d02cb646c7330fead431420fd14f988a19eb (patch)
tree87c386eccf1cd3e4949e8c1483974e65b1367c62 /tor-router.install
parentef5ddae67d29fe3bc011392650f72c57548d3aa0 (diff)
downloadaur-1c51d02cb646c7330fead431420fd14f988a19eb.tar.gz
Bump package.
Diffstat (limited to 'tor-router.install')
-rw-r--r--tor-router.install7
1 files changed, 4 insertions, 3 deletions
diff --git a/tor-router.install b/tor-router.install
index e5eb8873b38c..5d1b450dadc3 100644
--- a/tor-router.install
+++ b/tor-router.install
@@ -7,11 +7,11 @@ post_install() {
torconfigbackup="/etc/tor/torrc.backup"
if grep -iq "# Seting up TOR transparent proxy for tor-router" "$torconfig" ; then
- echo -e "BlackArch ==> tor-router is already configured in $torconfig"
+ echo -e "tor-router is already configured in $torconfig"
else
- echo -e "BlackArch ==> Making a backup of your torrc file, if you have problems with the new configuration, delete $torconfig and move $torconfigbackup to $torconfig"
+ echo -e "Making a backup of your torrc file, if you have problems with the new configuration, delete $torconfig and move $torconfigbackup to $torconfig"
cp "$torconfig" "$torconfigbackup"
- echo -e "BlackArch ==> Configuring the torrc file to use TOR as a transparent proxy..."
+ echo -e "Configuring the torrc file to use TOR as a transparent proxy..."
echo -e "\n# Seting up TOR transparent proxy for tor-router\nVirtualAddrNetwork 10.192.0.0/10\nAutomapHostsOnResolve 1\nTransPort 9040\nDNSPort 5353" >> "$torconfig"
fi
}
@@ -19,3 +19,4 @@ post_install() {
post_upgrade() {
post_install
}
+