From: | Stroller <stroller@××××××××××××××××××.uk> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] etc/conf.d/net format ? | ||
Date: | Mon, 23 Feb 2009 18:21:59 | ||
Message-Id: | CD571F33-00CC-40D2-994F-0A59EEC12692@stellar.eclipse.co.uk | ||
In Reply to: | [gentoo-user] etc/conf.d/net format ? by Helmut Jarausch |
1 | On 23 Feb 2009, at 13:14, Helmut Jarausch wrote: |
2 | > ... |
3 | > So to fix this, I'd like to do some 'sleep' after /usr/bin/br2684ctl |
4 | > has |
5 | > executed. |
6 | > |
7 | > Where is the syntax |
8 | > br2684ctl_nas0= ... |
9 | > |
10 | > explained and how can I insert some 'sleep'? |
11 | |
12 | In my /etc/conf.d/net I have: |
13 | |
14 | preup() { |
15 | if [[ ${IFACE} == "br0" ]] ; |
16 | then sleep 30 ; |
17 | fi |
18 | return 0 |
19 | } |
20 | |
21 | HTH, |
22 | |
23 | Stroller. |