updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dnetcfg / dnetcfg.sh
blob7c65ecd449a89a692aeab8f3a1ff9e8bfd2915dd
1 #!/bin/sh
3 PROFILE=`ls -l /etc/network.d | grep ^- | awk '{print $9}' | dmenu -p 'Select a network profile:' $*`
4 if [ "empty$PROFILE" != "empty" ]; then
5 sudo netcfg -a
6 sudo netcfg $PROFILE
7 fi