summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/etcnet/etcnet.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-13 23:50:06 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-13 23:50:06 (GMT)
commited42012166c5e0884049af699fa82e2ee8b130ed (patch)
tree84fd1cc78b685e9581aa55099b3b898301ff438b /abs/core-testing/etcnet/etcnet.install
parent2cad5b74898cc22dedf4c3ccc2d0de2906a5dfd3 (diff)
parent13b5221b802174391f7d9c7da28785520283deec (diff)
downloadlinhes_pkgbuild-ed42012166c5e0884049af699fa82e2ee8b130ed.zip
linhes_pkgbuild-ed42012166c5e0884049af699fa82e2ee8b130ed.tar.gz
linhes_pkgbuild-ed42012166c5e0884049af699fa82e2ee8b130ed.tar.bz2
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/etcnet/etcnet.install')
-rwxr-xr-xabs/core-testing/etcnet/etcnet.install6
1 files changed, 5 insertions, 1 deletions
diff --git a/abs/core-testing/etcnet/etcnet.install b/abs/core-testing/etcnet/etcnet.install
index a8b8b17..f34629f 100755
--- a/abs/core-testing/etcnet/etcnet.install
+++ b/abs/core-testing/etcnet/etcnet.install
@@ -30,7 +30,11 @@ pre_upgrade() {
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
- /bin/true
+ if [ -f /etc/net/ifaces/eth0/options.pacsave ]
+ then
+ systemconfig.py -m network
+ mv /etc/net/ifaces/eth0/options.pacsave /etc/net/ifaces/eth0/options.pacsave.orig
+ fi
}
# arg 1: the old package version