Slackware, fix rc.i2p, bad logic.

This commit is contained in:
sponge
2010-11-24 14:55:53 +00:00
parent 8b5c0a2db1
commit 5f3834d398
2 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,7 @@
i2p_start() { i2p_start() {
# Check if router is up first! # Check if router is up first!
/bin/su - -c "( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\"; directory status )" > /dev/null /bin/su - -c "( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\"; directory status )" > /dev/null
if [ ! $? -eq 0 ] ; then { if [ $? -eq 0 ] ; then {
# I2p is already running, so tell the user. # I2p is already running, so tell the user.
echo "I2P is already running..." echo "I2P is already running..."
i2p_status i2p_status

View File

@ -1,3 +1,6 @@
2010-11-24 sponge
* Slackware, fix rc.i2p, bad logic.
2010-11-24 sponge 2010-11-24 sponge
* Plugin: ticket 104 Fix webapp isRunning to check ALL webapps. * Plugin: ticket 104 Fix webapp isRunning to check ALL webapps.
The only defecency is that if one is running, that it considers the The only defecency is that if one is running, that it considers the