mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
a87698a36a
Create rc.d-style local startup script Fix omissions in pkg/PLIST Remove erroneous PREFIX in Makefile (and modify PLIST to match) Remove IS_INTERACTIVE (assume installation will run as root) Use union diffs instead of context diffs.
55 lines
1018 B
Plaintext
55 lines
1018 B
Plaintext
--- src/setup.orig Wed Jun 19 09:30:27 1996
|
|
+++ src/setup Thu Oct 3 20:11:48 1996
|
|
@@ -28,47 +28,10 @@
|
|
echo " or symbolic paths such as ~user/msql will not work"
|
|
echo
|
|
echo
|
|
-$ECHO_N " Top of install tree ? [/usr/local/Minerva] $ECHO_C"
|
|
-read INST_TOP
|
|
-if test "$INST_TOP." = "."
|
|
-then
|
|
- INST_TOP=/usr/local/Minerva
|
|
-fi
|
|
-
|
|
-$ECHO_N " Will this installation be running as root ? [y] $ECHO_C"
|
|
-read ANS
|
|
-if test "$ANS." = "."
|
|
-then
|
|
- ANS="y"
|
|
-fi
|
|
-if echo $ANS | grep -i "y" > /dev/null
|
|
-then
|
|
- ROOT_EXEC="-DROOT_EXEC"
|
|
- ROOT="root"
|
|
-else
|
|
- ROOT_EXEC=""
|
|
- $ECHO_N " What username will it run under ? $ECHO_C"
|
|
- read ROOT
|
|
-fi
|
|
-
|
|
-
|
|
-PID_DIRS="/var/adm /var/log /usr/adm /private/adm"
|
|
-PID_DIR=""
|
|
-for dir in $PID_DIRS
|
|
-do
|
|
- if test -d $dir
|
|
- then
|
|
- PID_DIR=${dir}
|
|
- break
|
|
- fi
|
|
-done
|
|
-$ECHO_N " Directory for pid file ? [${PID_DIR}] $ECHO_C"
|
|
-read RESPONSE
|
|
-if test "$RESPONSE." != "."
|
|
-then
|
|
- PID_DIR=$RESPONSE
|
|
-fi
|
|
-
|
|
+INST_TOP=$PREFIX/Minerva
|
|
+ROOT_EXEC="-DROOT_EXEC"
|
|
+ROOT="root"
|
|
+PID_DIR=/var/run
|
|
|
|
echo
|
|
echo
|