From c2ecfcabfd627bf4e0d2e65f3288c511d2634074 Mon Sep 17 00:00:00 2001
From: James Rayner <james@archlinux.org>
Date: Sun, 13 Jan 2008 19:42:32 +1100
Subject: Sort netcfg-menu alphabetically

---
 src/netcfg-menu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/netcfg-menu b/src/netcfg-menu
index 4da1291..01d251a 100755
--- a/src/netcfg-menu
+++ b/src/netcfg-menu
@@ -7,7 +7,7 @@
 
 # Scan all profiles
 i=0
-for prof in `find -L $PROFILE_DIR -maxdepth 1 -type f -printf "%f\n"`; do    
+for prof in `find -L $PROFILE_DIR -maxdepth 1 -type f -printf "%f\n"|sort`; do    
     # if there is a profile called "main", Use as default
     [ "$prof" = "main" ] && DEFAULT=$prof
     unset DESCRIPTION
-- 
cgit v1.2.3-24-g4f1b