projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
contrib/meshwizard: Check if luci/luci-splash is installed before trying to setup it
[project/luci.git]
/
contrib
/
package
/
meshwizard
/
files
/
usr
/
bin
/
meshwizard
/
helpers
/
setup_splash.sh
diff --git
a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_splash.sh
b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_splash.sh
index
86f60ae
..
f316798
100755
(executable)
--- a/
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_splash.sh
+++ b/
contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_splash.sh
@@
-6,6
+6,11
@@
net=$1
+if [ ! "$has_luci_splash" == TRUE ]; then
+ echo " Luci Splash is not installed, skipping setup of it."
+ exit
+fi
+
handle_splash() {
config_get network "$1" network
if [ "$network" == "${netrenamed}dhcp" ]; then