Changeset 3c4994c


Ignore:
Timestamp:
Dec 19, 2010 12:40:01 AM (9 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
8e72445
Parents:
0802b9a8
Message:

Fix script so the proper encodeing is used in the JVM.

Location:
Slackware/i2p-base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Slackware/i2p-base/i2p-base.SlackBuild

    r0802b9a8 r3c4994c  
    2222PKG=/$TMP/package-base-i2p
    2323NAME=i2p-base
    24 VERSION=0.0.3
     24VERSION=0.0.4
    2525BUILD=1sponge
    2626ARCH=noarch
  • Slackware/i2p-base/rc.i2p_def

    r0802b9a8 r3c4994c  
    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.