aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-12-04 11:24:09 +0800
committerdinoex <dinoex@FreeBSD.org>2003-12-04 11:24:09 +0800
commit4f40a42f17e8f4e09816f7f023ed6bf990668b27 (patch)
tree657d91d94d26d015e1414b03fb8a1452393511b7
parent0ea886ddb67069ec2869d3f64be4ed7b9a3ca9ab (diff)
downloadfreebsd-ports-gnome-4f40a42f17e8f4e09816f7f023ed6bf990668b27.tar.gz
freebsd-ports-gnome-4f40a42f17e8f4e09816f7f023ed6bf990668b27.tar.zst
freebsd-ports-gnome-4f40a42f17e8f4e09816f7f023ed6bf990668b27.zip
- fix Usage
-rw-r--r--mail/noattach/files/noattach.sh4
-rw-r--r--mail/sendmail/files/sendmail.sh4
-rw-r--r--mail/sendmail/files/sm-client.sh6
-rw-r--r--mail/sendmail812/files/sendmail.sh4
-rw-r--r--mail/sendmail812/files/sm-client.sh6
-rw-r--r--mail/vbsfilter/files/vbsfilter.sh6
-rw-r--r--net/radiusd-cistron/files/radiusd-cistron.sh5
-rw-r--r--security/hpn-ssh/files/sshd.sh4
-rw-r--r--security/openssh-portable/files/sshd.sh4
-rw-r--r--security/openssh/files/sshd.sh4
10 files changed, 23 insertions, 24 deletions
diff --git a/mail/noattach/files/noattach.sh b/mail/noattach/files/noattach.sh
index 3be5062778fa..0e1e57103b49 100644
--- a/mail/noattach/files/noattach.sh
+++ b/mail/noattach/files/noattach.sh
@@ -30,7 +30,7 @@ reload)
fi
;;
*)
- echo "Usage: ${0##*/}: { start | stop | reload }" 2>&1
- exit 65
+ echo "Usage: ${0##*/}: { start | stop | reload }" >&2
+ exit 64
;;
esac
diff --git a/mail/sendmail/files/sendmail.sh b/mail/sendmail/files/sendmail.sh
index 33c01e0621a4..a63031b87bd1 100644
--- a/mail/sendmail/files/sendmail.sh
+++ b/mail/sendmail/files/sendmail.sh
@@ -52,7 +52,7 @@ restart)
fi
;;
*)
- echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1
- exit 65
+ echo "Usage: ${0##*/}: { start | stop | restart }" >&2
+ exit 64
;;
esac
diff --git a/mail/sendmail/files/sm-client.sh b/mail/sendmail/files/sm-client.sh
index c481b57171e2..4e9570eec4e7 100644
--- a/mail/sendmail/files/sm-client.sh
+++ b/mail/sendmail/files/sm-client.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/mail/sendmail/files/Attic/sm-client.sh,v 1.3 2002-04-06 08:17:34 dinoex Exp $
+# $FreeBSD: /tmp/pcvs/ports/mail/sendmail/files/Attic/sm-client.sh,v 1.4 2003-12-04 03:24:09 dinoex Exp $
#
if ! test -x %%PREFIX%%/sbin/sendmail
then
@@ -25,7 +25,7 @@ restart)
fi
;;
*)
- echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1
- exit 65
+ echo "Usage: ${0##*/}: { start | stop | restart }" >&2
+ exit 64
;;
esac
diff --git a/mail/sendmail812/files/sendmail.sh b/mail/sendmail812/files/sendmail.sh
index 33c01e0621a4..a63031b87bd1 100644
--- a/mail/sendmail812/files/sendmail.sh
+++ b/mail/sendmail812/files/sendmail.sh
@@ -52,7 +52,7 @@ restart)
fi
;;
*)
- echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1
- exit 65
+ echo "Usage: ${0##*/}: { start | stop | restart }" >&2
+ exit 64
;;
esac
diff --git a/mail/sendmail812/files/sm-client.sh b/mail/sendmail812/files/sm-client.sh
index 6e5429c29303..0182815ea86d 100644
--- a/mail/sendmail812/files/sm-client.sh
+++ b/mail/sendmail812/files/sm-client.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/mail/sendmail812/files/Attic/sm-client.sh,v 1.3 2002-04-06 08:17:34 dinoex Exp $
+# $FreeBSD: /tmp/pcvs/ports/mail/sendmail812/files/Attic/sm-client.sh,v 1.4 2003-12-04 03:24:09 dinoex Exp $
#
if ! test -x %%PREFIX%%/sbin/sendmail
then
@@ -25,7 +25,7 @@ restart)
fi
;;
*)
- echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1
- exit 65
+ echo "Usage: ${0##*/}: { start | stop | restart }" >&2
+ exit 64
;;
esac
diff --git a/mail/vbsfilter/files/vbsfilter.sh b/mail/vbsfilter/files/vbsfilter.sh
index 1a3faf0fd630..2a9d10134919 100644
--- a/mail/vbsfilter/files/vbsfilter.sh
+++ b/mail/vbsfilter/files/vbsfilter.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/mail/vbsfilter/files/Attic/vbsfilter.sh,v 1.3 2002-03-17 18:00:07 dinoex Exp $
+# $FreeBSD: /tmp/pcvs/ports/mail/vbsfilter/files/Attic/vbsfilter.sh,v 1.4 2003-12-04 03:24:09 dinoex Exp $
#
if ! test -x %%PREFIX%%/libexec/vbsfilter
then
@@ -17,7 +17,7 @@ stop)
rm -f /var/run/vbsfilter
;;
*)
- echo "Usage: ${0##*/}: { start | stop }" 2>&1
- exit 65
+ echo "Usage: ${0##*/}: { start | stop }" >&2
+ exit 64
;;
esac
diff --git a/net/radiusd-cistron/files/radiusd-cistron.sh b/net/radiusd-cistron/files/radiusd-cistron.sh
index c51c91fbb299..1ec7d0d2248d 100644
--- a/net/radiusd-cistron/files/radiusd-cistron.sh
+++ b/net/radiusd-cistron/files/radiusd-cistron.sh
@@ -16,8 +16,7 @@ stop)
fi
;;
*)
- echo ""
- echo "Usage: $0 { start | stop }"
- echo ""
+ echo "Usage: ${0##*/} { start | stop }" >&2
+ exit 64
;;
esac
diff --git a/security/hpn-ssh/files/sshd.sh b/security/hpn-ssh/files/sshd.sh
index ba52de02fe7b..a08d61e67a6d 100644
--- a/security/hpn-ssh/files/sshd.sh
+++ b/security/hpn-ssh/files/sshd.sh
@@ -18,7 +18,7 @@ restart)
fi
;;
*)
- echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1
- exit 65
+ echo "Usage: ${0##*/}: { start | stop | restart }" >&2
+ exit 64
;;
esac
diff --git a/security/openssh-portable/files/sshd.sh b/security/openssh-portable/files/sshd.sh
index ba52de02fe7b..a08d61e67a6d 100644
--- a/security/openssh-portable/files/sshd.sh
+++ b/security/openssh-portable/files/sshd.sh
@@ -18,7 +18,7 @@ restart)
fi
;;
*)
- echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1
- exit 65
+ echo "Usage: ${0##*/}: { start | stop | restart }" >&2
+ exit 64
;;
esac
diff --git a/security/openssh/files/sshd.sh b/security/openssh/files/sshd.sh
index ba52de02fe7b..a08d61e67a6d 100644
--- a/security/openssh/files/sshd.sh
+++ b/security/openssh/files/sshd.sh
@@ -18,7 +18,7 @@ restart)
fi
;;
*)
- echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1
- exit 65
+ echo "Usage: ${0##*/}: { start | stop | restart }" >&2
+ exit 64
;;
esac