1 |
Am Mittwoch, 7. Juni 2006 13:51 schrieb Hans-Werner Hilse: |
2 |
> > if [ifconfig ath0 | grep key:off gibt was zurück] //denn ansonsten |
3 |
> > steht dort der Key also kommt dieser ausdruck nur vor wenn keine |
4 |
> > Verschlüsselung vorhanden ist, oder soll ich das ganz anders machen? |
5 |
> > vpnc... |
6 |
> > fi; |
7 |
... |
8 |
> Falls dich die weiter sichtbare Ausgabe nervt: |
9 |
> if ifconfig ath0 | grep 'Key:off' > /dev/null; then ... |
10 |
|
11 |
oder: |
12 |
if ifconfig ath0 | grep -q 'Key:off'; then ... |
13 |
|
14 |
-- |
15 |
gentoo-user-de@g.o mailing list |