Author: nextgens Date: 2006-08-24 14:25:06 +0000 (Thu, 24 Aug 2006) New Revision: 10257
Modified: trunk/apps/new_installer/res/windows/bin/1run.cmd Log: again Modified: trunk/apps/new_installer/res/windows/bin/1run.cmd =================================================================== --- trunk/apps/new_installer/res/windows/bin/1run.cmd 2006-08-24 14:20:05 UTC (rev 10256) +++ trunk/apps/new_installer/res/windows/bin/1run.cmd 2006-08-24 14:25:06 UTC (rev 10257) @@ -80,9 +80,8 @@ @copy freenet-stable-latest.jar freenet.jar > NUl @echo "Installing the wrapper" @echo "Registering Freenet as a system service" - at IF %FPROXY_PORT% == 8888 GOTO no_alternate +:: :: It's likely that a node has already been set up; handle it - @bin\cat.exe wrapper.conf | bin\sed.exe "s/darknet/darknet-%FPROXY_PORT%/g" > wrapper2.conf @move /Y wrapper2.conf wrapper.conf > NUL @@ -98,12 +97,11 @@ @bin\cat bin\stop.cmd | bin\sed.exe "s/darknet/darknet-%FPROXY_PORT%/g" > stop.cmd @move /Y stop.cmd bin\stop.cmd -:no_alternate @bin\wrapper-windows-x86-32.exe -r ../wrapper.conf > NUL @bin\wrapper-windows-x86-32.exe -i ../wrapper.conf :: Start the node up - at net start freenet-darknet + at net start freenet-darknet-%FPROXY_PORT% @echo "Waiting for freenet to startup" @ping -n 5 127.0.0.1 >nul
