#!/bin/sh if test "x$D" != "x"; then D="-r $D" else D="-s" fi update-rc.d $D portmap start 43 S . start 32 0 6 . stop 81 1 .