summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2012-06-14 17:32:50 +0000
committerNick <nick@somerandomnick.ano>2012-06-14 17:32:50 +0000
commit7cc7c71081e8d9990ff81efb088937f642cdcfb6 (patch)
treeeb37b17f8b430de4989f49dc9e02117f3eb858ba /contrib
parent1107232133d0db84a61121fbcb2055c733b8bd8c (diff)
parent40af6cb0b04cc5c938fc0212d8b9bbc91bedc716 (diff)
downloadresdb-7cc7c71081e8d9990ff81efb088937f642cdcfb6.tar.gz
resdb-7cc7c71081e8d9990ff81efb088937f642cdcfb6.zip
Merge commit '40af6cb0b04cc5c938fc0212d8b9bbc91bedc716'
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/peer2anonet/peer2anonet6
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index c4961ed..5c90f7f 100755
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -330,12 +330,10 @@ INSTALL_DAEMONTOOLS(){
[[ $(echo X`which gcc`) == X ]] && exit 1
[[ $(echo X`which make`) == X ]] && echo ' fatal error: cannot find make'
[[ $(echo X`which make`) == X ]] && exit 1
- [[ $(echo X`which csh`) == X ]] && echo ' fatal error: cannot find csh'
- [[ $(echo X`which csh`) == X ]] && exit 1
if [ -w /etc/inittab ]; then :
elif [ -w /etc/rc.local ] && ! [ -w /etc/inittab ]; then
- sed -i "s/exit 0/csh -cf \'\/command\/svscanboot \&\'/" /etc/rc.local
+ sed -i "s/exit 0/exec \/command\/svscanboot \&/" /etc/rc.local
chmod +x /etc/rc.local
else
echo ' fatal error: cannot create reliable startup'
@@ -352,7 +350,7 @@ INSTALL_DAEMONTOOLS(){
cd admin/daemontools-0.76
sed -i 's/gcc/gcc -include errno.h/g' src/conf-cc
package/install
- csh -cf '/command/svscanboot &'
+ exec /command/svscanboot >/dev/null 2>&1 &
}
INSTALL_UCSPI_TCP(){