summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthias Uferer <ufo@rund.freifunk.net>2014-03-02 15:50:20 +0000
committerMatthias Uferer <ufo@rund.freifunk.net>2014-03-02 15:50:20 +0000
commit410f928390a3c96f35f0fbcdec4f61678f87ebb5 (patch)
tree41cd70cd3a6cf98b4a1c14fbd04711968f4d7486
parentd8e3c36826e8615094d53a9edda107c7a9151fec (diff)
postinstall script possibility added for meshkit wizard at /etc/rc.local.meshkitpostinstall
-rwxr-xr-xcontrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh
index 0cdbc2e64..f7ee7cf9d 100755
--- a/contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh
+++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/wizard.sh
@@ -125,6 +125,11 @@ for net in $networks; do
fi
done
+##### postinstall script
+
+[ -f /etc/rc.local.meshkitpostinstall ] && /etc/rc.local.meshkitpostinstall
+
+
##### Reboot the router (because simply restarting services gave errors)
echo "+ The wizard has finished and the router will reboot now."