diff options
| author | Dongxiao Xu <dongxiao.xu@intel.com> | 2010-07-01 14:34:12 +0800 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:28:54 +0100 |
| commit | 057d63096253b61551dbc2d0ea34a60f58987969 (patch) | |
| tree | 5b860616fa619ca40b6702c715090a9b47b74edf /meta/packages/ppp/ppp-2.4.5/08setupdns | |
| parent | 4cf75289108579ac2048178465c98e8c36f39038 (diff) | |
| download | poky-057d63096253b61551dbc2d0ea34a60f58987969.tar.gz | |
ppp: Upgraded to version 2.4.5
Removed some patches since they are already in latest package
Rebased some patches to fit ppp-2.4.5
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/packages/ppp/ppp-2.4.5/08setupdns')
| -rw-r--r-- | meta/packages/ppp/ppp-2.4.5/08setupdns | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/packages/ppp/ppp-2.4.5/08setupdns b/meta/packages/ppp/ppp-2.4.5/08setupdns new file mode 100644 index 0000000000..998219de97 --- /dev/null +++ b/meta/packages/ppp/ppp-2.4.5/08setupdns | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | ACTUALCONF=/var/run/resolv.conf | ||
| 3 | PPPCONF=/var/run/ppp/resolv.conf | ||
| 4 | if [ -f $PPPCONF ] ; then | ||
| 5 | if [ -f $ACTUALCONF ] ; then | ||
| 6 | if [ ! -h $ACTUALCONF -o ! "`readlink $ACTUALCONF 2>&1`" = "$PPPCONF" ] ; then | ||
| 7 | mv $ACTUALCONF $ACTUALCONF.ppporig | ||
| 8 | fi | ||
| 9 | fi | ||
| 10 | |||
| 11 | ln -sf $PPPCONF $ACTUALCONF | ||
| 12 | fi | ||
