aboutsummaryrefslogtreecommitdiff
path: root/network/r2e/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/r2e/doinst.sh')
-rw-r--r--network/r2e/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/network/r2e/doinst.sh b/network/r2e/doinst.sh
new file mode 100644
index 0000000000000..c9bb64c3d842c
--- /dev/null
+++ b/network/r2e/doinst.sh
@@ -0,0 +1,9 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ [ ! -r $OLD ] && mv $NEW $OLD
+ rm -f $NEW
+}
+
+config etc/r2e/config.py.new
+