aboutsummaryrefslogtreecommitdiffstats
path: root/main/gross/gross.pre-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'main/gross/gross.pre-upgrade')
-rw-r--r--main/gross/gross.pre-upgrade12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/gross/gross.pre-upgrade b/main/gross/gross.pre-upgrade
new file mode 100644
index 0000000000..90361bcc65
--- /dev/null
+++ b/main/gross/gross.pre-upgrade
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+old=/etc/conf.d/gross
+new=/etc/conf.d/grossd
+
+if [ -f "$old" ] && [ ! -f "$new" ]; then
+ mv "$old" "$new"
+ echo " *"
+ echo " * NOTICE: $old was renamed to $new"
+ echo " *"
+fi
+