mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
28 lines
718 B
Plaintext
28 lines
718 B
Plaintext
|
diff -ur --unidirectional-new-file skipsrc-1.0.orig/admin/skipd_restart.sh skipsrc-1.0/admin/skipd_restart.sh
|
||
|
--- skipsrc-1.0.orig/admin/skipd_restart.sh Fri Oct 25 13:11:19 1996
|
||
|
+++ skipsrc-1.0/admin/skipd_restart.sh Wed Nov 26 20:13:18 1997
|
||
|
@@ -4,20 +4,9 @@
|
||
|
#
|
||
|
# Kill and restart the SKIP key management/certificate daemon
|
||
|
|
||
|
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||
|
-export PATH
|
||
|
-
|
||
|
-SUNOS=`uname -r | sed 's/\..*//g'`
|
||
|
-if [ $SUNOS = 5 ]; then
|
||
|
- SKIP_BIN=/opt/SUNWicg/bin
|
||
|
- SKIP_ETC=/etc/opt/SUNWicg/skip
|
||
|
-else
|
||
|
- SKIP_BIN=/usr/skip/bin
|
||
|
- SKIP_ETC=/etc/skip
|
||
|
-fi
|
||
|
-
|
||
|
-SKIP_PID=$SKIP_ETC/skipd.pid
|
||
|
-SKIPD=$SKIP_BIN/skipd
|
||
|
+SKIP_BIN=@@PREFIX@@/bin
|
||
|
+SKIPD=${SKIP_BIN}/skipd
|
||
|
+SKIP_PID=/var/run/skipd.pid
|
||
|
|
||
|
PATH=$SKIP_BIN:$PATH
|
||
|
|