summaryrefslogtreecommitdiff
path: root/social/olsrd/olsrd.install
diff options
context:
space:
mode:
Diffstat (limited to 'social/olsrd/olsrd.install')
-rw-r--r--social/olsrd/olsrd.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/social/olsrd/olsrd.install b/social/olsrd/olsrd.install
new file mode 100644
index 000000000..f49372538
--- /dev/null
+++ b/social/olsrd/olsrd.install
@@ -0,0 +1,21 @@
+post_install() {
+echo "--------------------------------------------------------------------"
+echo " Remember to edit /etc/olsrd.conf to match your network settings."
+echo "--------------------------------------------------------------------"
+/bin/true
+}
+
+post_upgrade() {
+/bin/true
+}
+
+pre_remove() {
+/etc/rc.d/olsrd stop
+/bin/true
+}
+
+op=$1
+shift
+
+$op "$@"
+