diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-05-21 08:28:04 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-05-21 08:28:04 +0200 |
commit | 82b74a39a15b94d292107c3efc1489f060c9443d (patch) | |
tree | 06a1ba48e35a909f833523010266df7904445b0a /netset | |
parent | c476d413e5b1e655fe9453ef2382b4828476c473 (diff) | |
download | bin-82b74a39a15b94d292107c3efc1489f060c9443d.zip bin-82b74a39a15b94d292107c3efc1489f060c9443d.tar.gz |
netset : sort profiles
Diffstat (limited to 'netset')
-rwxr-xr-x | netset | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ then echo "must be run as root" exit 1 fi -PROFILES=$($NETCTL list | sed 's/\*//') +PROFILES=$($NETCTL list | sed 's/\*//' | sort) select profile in $PROFILES do [ -z "$profile" ] && exit 0 |