diff options
author | Mark Pulford <markp@FreeBSD.org> | 2001-06-12 10:17:21 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2001-06-12 10:17:21 +0000 |
commit | 043fe06cfd43ca8cda54b1aa2b204991e769c64e (patch) | |
tree | a38aaf6b6f14b0adc2cf2427cdcf7662c3f03753 /net/satellite/pkg-install | |
parent | c889820fe03f311d21dfb147db1f56f4fe18e401 (diff) |
Notes
Diffstat (limited to 'net/satellite/pkg-install')
-rw-r--r-- | net/satellite/pkg-install | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/net/satellite/pkg-install b/net/satellite/pkg-install index 7145c4db65da..61b065a8b237 100644 --- a/net/satellite/pkg-install +++ b/net/satellite/pkg-install @@ -1,8 +1,5 @@ #!/bin/sh -[ "${PKG_PREFIX}" ] && PREFIX="${PKG_PREFIX}" -[ "${PREFIX}" ] || PREFIX=/usr/local - case "$2" in PRE-INSTALL) if ! pw user show satellite >/dev/null 2>&1 @@ -12,24 +9,6 @@ case "$2" in fi ;; POST-INSTALL) - if [ ! -f "${PREFIX}/etc/satellite.db" ] - then - echo "===> Creating ${PREFIX}/etc/satellite.db configuration file" - ${PREFIX}/sbin/satcfg -L - chown satellite ${PREFIX}/etc/satellite.db - chmod 600 ${PREFIX}/etc/satellite.db - fi - if [ ! -f "/var/log/satellite" ] - then - echo "===> Creating initial log file /var/log/satellite" - touch /var/log/satellite - chown satellite /var/log/satellite - fi - echo "===> To run the satellited server you will need to change a few files." - echo "===> Please add the following line to /etc/services" - echo "satellite 1764/tcp" - echo "===> Please add the following line to /etc/inetd.conf and restart inetd" - echo "satellite stream tcp nowait satellite ${PREFIX}/sbin/satellited satellited -v" ;; *) echo "Incorrect parameter" |