summaryrefslogtreecommitdiffstats
path: root/extras/vpp_config/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'extras/vpp_config/scripts')
-rwxr-xr-xextras/vpp_config/scripts/vpp-config12
1 files changed, 2 insertions, 10 deletions
diff --git a/extras/vpp_config/scripts/vpp-config b/extras/vpp_config/scripts/vpp-config
index 8f5314bca72..7cb27fc20e8 100755
--- a/extras/vpp_config/scripts/vpp-config
+++ b/extras/vpp_config/scripts/vpp-config
@@ -17,14 +17,6 @@
import os
import sys
-import vpp_config as vppcfg
+import vpp_config as vpp
-# Check for root
-if not os.geteuid() == 0:
- sys.exit('\nPlease run the VPP Configuration Utility as root.')
-
-# Setup
-vppcfg.autoconfig_setup()
-
-# Main menu
-vppcfg.autoconfig_main()
+vpp.config_main()