Ignore:
Timestamp:
Dec 19, 2010 9:10:49 AM (10 years ago)
Author:
z3d <z3d@…>
Branches:
master
Children:
a568ad2
Parents:
c3f43bc (diff), 3c4994c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge of '2c3eb1b692122c7c96b2c547532274f1068fc7f5'

and 'ed99c2a20da18fdc068fa77418f54a1857152a16'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Slackware/i2p-base/rc.i2p_def

    rc3f43bc r8e72445  
    44i2p_start() {
    55 # Check if router is up first!
    6  /bin/su - -c "( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\"; directory status )" > /dev/null
     6 /bin/su - -c "/bin/bash -l -c '( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\" ; directory status )'" > /dev/null
    77 if [ $? -eq 0 ] ; then {
    88  # I2p is already running, so tell the user.
     
    1515  rm -Rf `grep /tmp/hsperfdata_root/* -le i2p` /tmp/i2p-*.tmp /tmp/router.ping
    1616  # Now that all junk is cleaned up, start.
    17   /bin/su - -c "( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\"; directory start )"
     17  /bin/su - -c "/bin/bash -l -c '( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\" ; directory start )'"
    1818 }
    1919 fi
     
    2121
    2222i2p_stop() {
    23  /bin/su - -c "( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\"; directory stop )"
     23 /bin/su - -c "/bin/bash -l -c '( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\" ; directory stop )'"
    2424 rm -Rf `grep /tmp/hsperfdata_root/* -le i2p` /tmp/i2p-*.tmp /tmp/router.ping
    2525}
     
    3232
    3333i2p_status() {
    34  /bin/su - -c "( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\"; directory status )"
     34 /bin/su - -c "/bin/bash -l -c '( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\" ; directory status )'"
    3535}
    3636
    3737i2p_console() {
    38  /bin/su - -c "( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\"; directory console )"
     38 /bin/su - -c "/bin/bash -l -c '( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\" ; directory console )'"
    3939}
    4040
    4141i2p_dump() {
    42  /bin/su - -c "( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\"; directory dump )"
     42 /bin/su - -c "/bin/bash -l -c '( export PATH=\"$PATH:/usr/lib/java/bin:/usr/lib/java/jre/bin\" ; directory dump )'"
    4343}
    4444
Note: See TracChangeset for help on using the changeset viewer.