summaryrefslogtreecommitdiff
path: root/net/zephyr/files
diff options
context:
space:
mode:
authoragc <agc>1998-02-27 11:19:14 +0000
committeragc <agc>1998-02-27 11:19:14 +0000
commit36a3f5c275abfc39cf212f3a45421c08631d1150 (patch)
tree1355af4161356fe14c90677109654e5fd6613f74 /net/zephyr/files
parentfbaa5b0723fec235234ef247775802a4e7f6a220 (diff)
downloadpkgsrc-36a3f5c275abfc39cf212f3a45421c08631d1150.tar.gz
Add this shell script from FreeBSD. Don't hardcode /usr/local,
though - this gets pre-processed at install time.
Diffstat (limited to 'net/zephyr/files')
-rw-r--r--net/zephyr/files/zhm.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/zephyr/files/zhm.sh b/net/zephyr/files/zhm.sh
new file mode 100644
index 00000000000..bd8580ecf90
--- /dev/null
+++ b/net/zephyr/files/zhm.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+PREFIX=${PREFIX-@prefix@}
+
+if [ -x ${PREFIX}/sbin/zhm -a -f ${PREFIX}/etc/zephyr/server.list ] ; then
+ PATH=${PREFIX}/sbin:${PREFIX}/bin:$PATH ; export PATH
+ zhm `cat ${PREFIX}/etc/zephyr/server.list` && echo -n ' zhm'
+fi