You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
BIN=portmap
|
|
|
|
DEFAULT=/etc/default/$BIN
|
|
|
|
[ -f $DEFAULT ] && . $DEFAULT
|
|
|
|
|
|
|
|
case $1 in
|
|
|
|
start)
|
|
|
|
$BIN $OPTIONS
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "usage: $0 start"
|
|
|
|
exit 1
|
|
|
|
esac
|
|
|
|
|
|
|
|
exit $?
|