summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/etcnet/etcnet.install
diff options
context:
space:
mode:
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