diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-13 23:50:06 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-13 23:50:06 (GMT) |
commit | ed42012166c5e0884049af699fa82e2ee8b130ed (patch) | |
tree | 84fd1cc78b685e9581aa55099b3b898301ff438b /abs/core-testing/etcnet/etcnet.install | |
parent | 2cad5b74898cc22dedf4c3ccc2d0de2906a5dfd3 (diff) | |
parent | 13b5221b802174391f7d9c7da28785520283deec (diff) | |
download | linhes_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-x | abs/core-testing/etcnet/etcnet.install | 6 |
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 |