mirror of
https://github.com/barronwaffles/dwc_network_server_emulator.git
synced 2026-09-14 06:05:27 -05:00
Added a real fallback to $mod4 (aka proxy mod)
I decided to use an if statement (hasn't been tested) to enable mod4 only if the first 3 mods fail to enable
This commit is contained in:
@@ -52,6 +52,9 @@ echo "Okay! Lets hope nothing broke during this process..."
|
||||
sleep 5s
|
||||
echo "Now lets enable some modules so we can make all of this work..."
|
||||
a2enmod $mod1 $mod2 $mod3 $mod4
|
||||
if [ $? != "0"] then:
|
||||
a2enmod $mod4
|
||||
fi
|
||||
echo "Great! Everything appears to be set up as far as Apache"
|
||||
service apache2 restart
|
||||
service apache2 reload
|
||||
|
||||
Reference in New Issue
Block a user