summaryrefslogtreecommitdiff
path: root/social/olsrd/olsrd.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-06 22:47:17 +0000
committerroot <root@rshg047.dnsready.net>2011-06-06 22:47:17 +0000
commit93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (patch)
tree1f60e792a546a9484aec590ce687df8f0ec6c697 /social/olsrd/olsrd.install
parentc81b3455112a3b09a8341fc8c45a91bd92c15a12 (diff)
Mon Jun 6 22:47:16 UTC 2011
Diffstat (limited to 'social/olsrd/olsrd.install')
-rwxr-xr-xsocial/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 100755
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 "$@"
+