We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0684f3a commit 60c4b08Copy full SHA for 60c4b08
1 file changed
upd/switch_rpath.sh
@@ -11,6 +11,11 @@ if [ ! -e "/etc/apache2/mods-available/remoteip.load" ]; then
11
exit
12
fi
13
14
+if [ -f "/etc/apache2/mods-enabled/remoteip.load" ]; then
15
+ echo "RemoteIP is already activated"
16
+ exit
17
+fi
18
+
19
# Disabling rpaf
20
/usr/sbin/a2dismod rpaf > /dev/null 2>&1
21
rm -f /etc/apache2/mods-enabled/rpaf.conf
0 commit comments