From 38ae54675fa5ea5a9bab5870b0a966e5f3da66ca Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 14 May 2010 17:14:13 -0700 Subject: POC implementation of unified enumeration mechanism * use "enumeration" template field for both CLI completion and GUI2 enumeration support. * CLI completion now uses enumeration if it exists. * add "existing-interfaces" script as an example. --- scripts/enumeration/existing-interfaces | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/enumeration/existing-interfaces (limited to 'scripts/enumeration') diff --git a/scripts/enumeration/existing-interfaces b/scripts/enumeration/existing-interfaces new file mode 100755 index 0000000..1defc22 --- /dev/null +++ b/scripts/enumeration/existing-interfaces @@ -0,0 +1,4 @@ +#!/bin/bash + +ls /sys/class/net 2>/dev/null + -- cgit v1.2.3