summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmodules.d/slx-network/scripts/setup-bootif-network.stage34
1 files changed, 2 insertions, 2 deletions
diff --git a/modules.d/slx-network/scripts/setup-bootif-network.stage3 b/modules.d/slx-network/scripts/setup-bootif-network.stage3
index 024ac0cf..dfc5adc6 100755
--- a/modules.d/slx-network/scripts/setup-bootif-network.stage3
+++ b/modules.d/slx-network/scripts/setup-bootif-network.stage3
@@ -19,9 +19,9 @@ fi
_splashtool() {
:
}
-if [ -x "/opt/openslx/bin/splashtool" ]; then
+if hash splashtool &> /dev/null; then
_splashtool() {
- /opt/openslx/bin/splashtool "$@"
+ splashtool "$@"
}
fi