Author: nextgens
Date: 2008-02-29 01:56:12 +0000 (Fri, 29 Feb 2008)
New Revision: 18244
Modified:
trunk/apps/new_installer/res/unix/bin/detect_port_availability.sh
trunk/apps/new_installer/res/unix/run.sh
Log:
new_installer: echo -e is a bashism
Modified: trunk/apps/new_installer/res/unix/bin/detect_port_availability.sh
===================================================================
--- trunk/apps/new_installer/res/unix/bin/detect_port_availability.sh
2008-02-28 23:54:05 UTC (rev 18243)
+++ trunk/apps/new_installer/res/unix/bin/detect_port_availability.sh
2008-02-29 01:56:12 UTC (rev 18244)
@@ -21,7 +21,8 @@
cat welcome.html | sed "s/8888/$FPROXY_PORT/g" >welcome2.html
mv welcome2.html welcome.html
fi
-echo -e "fproxy.enabled=true\nfproxy.port=$FPROXY_PORT" >> freenet.ini
+echo "fproxy.enabled=true" >> freenet.ini
+echo "fproxy.port=$FPROXY_PORT" >> freenet.ini
# Try to auto-detect the first available port for fcp
FCP_PORT=9481
@@ -31,4 +32,5 @@
FCP_PORT=9482
echo "Can not bind fcp to 9481: force it to $FCP_PORT instead."
fi
-echo -e "fcp.enabled=true\nfcp.port=$FCP_PORT" >> freenet.ini
+echo "fcp.enabled=true" >> freenet.ini
+echo "fcp.port=$FCP_PORT" >> freenet.ini
Modified: trunk/apps/new_installer/res/unix/run.sh
===================================================================
--- trunk/apps/new_installer/res/unix/run.sh 2008-02-28 23:54:05 UTC (rev
18243)
+++ trunk/apps/new_installer/res/unix/run.sh 2008-02-29 01:56:12 UTC (rev
18244)
@@ -423,7 +423,8 @@
then
if [ "$NO_WRAPPER" ] # Check if we don't have usable wrapper, and run
without it
then
- echo -e "\n Let's start the node without the wrapper, you'll have
to daemonize it yourself."
+ echo ""
+ echo "Let's start the node without the wrapper, you'll have to
daemonize it yourself."
exec $NO_WRAPPER
else # Otherwise use the wrapper
COMMAND_LINE="$CMDNICE $WRAPPER_CMD $WRAPPER_CONF
wrapper.syslog.ident=$APP_NAME wrapper.pidfile=$PIDFILE $LDPROP
wrapper.daemonize=TRUE $ANCHORPROP $IGNOREPROP $LOCKPROP"