1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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 "$@"