summaryrefslogtreecommitdiffstats
path: root/src/netcfg-menu
diff options
context:
space:
mode:
Diffstat (limited to 'src/netcfg-menu')
-rw-r--r--src/netcfg-menu5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/netcfg-menu b/src/netcfg-menu
index 505a91b..872d904 100644
--- a/src/netcfg-menu
+++ b/src/netcfg-menu
@@ -2,6 +2,11 @@
. /usr/lib/network/network
+if [[ ! -x /usr/bin/dialog ]]; then
+ echo "Please install 'dialog' to use netcfg-menu"
+ exit 1
+fi
+
# JP: we'll use $STATE_DIR/menu to record what profile is being connected in this way
rm -f "$STATE_DIR/menu"