===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
i2p-0.9.47/apps/systray/java/resources/iggy.xpm-200-"          M N O P Q = R s S T U V W V X         ",
i2p-0.9.47/apps/systray/java/resources/iggy.xpm:201:"        Y Z ` `  ...+.@.#.$.%.` ` ` ` ` &.      ",
i2p-0.9.47/apps/systray/java/resources/iggy.xpm-202-"      *.=.-.;.>.,.'.).!.` ` ` ` ` ` ~.{.].      ",
##############################################
i2p-0.9.47/apps/jetty/java/src/net/i2p/jetty/I2PRequestLog.java-300-                    if (addr == null)
i2p-0.9.47/apps/jetty/java/src/net/i2p/jetty/I2PRequestLog.java:301:                        addr = request.getRemoteAddr();
i2p-0.9.47/apps/jetty/java/src/net/i2p/jetty/I2PRequestLog.java-302-                }
##############################################
i2p-0.9.47/apps/sam/c/src/sam.c-946-#ifdef NO_INET_ATON
i2p-0.9.47/apps/sam/c/src/sam.c:947:	rc = hostaddr.sin_addr.s_addr = inet_addr(ipaddr);
i2p-0.9.47/apps/sam/c/src/sam.c-948-#elif defined NO_INET_PTON
##############################################
i2p-0.9.47/apps/i2pcontrol/java/com/thetransactioncompany/jsonrpc2/server/MessageContext.java-237-	
i2p-0.9.47/apps/i2pcontrol/java/com/thetransactioncompany/jsonrpc2/server/MessageContext.java:238:		clientInetAddress = httpRequest.getRemoteAddr();
i2p-0.9.47/apps/i2pcontrol/java/com/thetransactioncompany/jsonrpc2/server/MessageContext.java-239-	
##############################################
i2p-0.9.47/apps/imagegen/identicon/core/src/main/java/com/docuverse/identicon/IdenticonUtil.java-111-	 * int code = IdenticonUtil.getIdenticonCode(request.getParameter("code"), request
i2p-0.9.47/apps/imagegen/identicon/core/src/main/java/com/docuverse/identicon/IdenticonUtil.java:112:	 * 		.getRemoteAddr());
i2p-0.9.47/apps/imagegen/identicon/core/src/main/java/com/docuverse/identicon/IdenticonUtil.java-113-	 * </pre>
##############################################
i2p-0.9.47/installer/resources/osid-34-
i2p-0.9.47/installer/resources/osid:35:DARWIN=`echo "$HOST_OS" | grep Darwin`
i2p-0.9.47/installer/resources/osid:36:MAC=`echo "$HOST_OS" | grep Mac`
i2p-0.9.47/installer/resources/osid:37:KFREEBSD=`echo "$HOST_OS" | grep kFreeBSD`
i2p-0.9.47/installer/resources/osid:38:FREEBSD=`echo "$HOST_OS" | grep FreeBSD`
i2p-0.9.47/installer/resources/osid:39:LINUX=`echo "$HOST_OS" | grep Linux`
i2p-0.9.47/installer/resources/osid:40:SOLARIS=`echo "$HOST_OS" | grep Solaris`
i2p-0.9.47/installer/resources/osid:41:SUNOS=`echo "$HOST_OS" | grep SunOS`
i2p-0.9.47/installer/resources/osid:42:NETBSD=`echo "$HOST_OS" |grep NetBSD`
i2p-0.9.47/installer/resources/osid:43:OPENBSD=`echo "$HOST_OS" |grep OpenBSD`
i2p-0.9.47/installer/resources/osid-44-
##############################################
i2p-0.9.47/installer/resources/osid-57-    LINUX_DISTRO=`cat /proc/version`
i2p-0.9.47/installer/resources/osid:58:    DEBIAN=`echo $LINUX_DISTRO | grep Debian`
i2p-0.9.47/installer/resources/osid:59:    FEDORA=`echo $LINUX_DISTRO | grep Fedora`
i2p-0.9.47/installer/resources/osid:60:    GENTOO=`echo $LINUX_DISTRO | grep Gentoo`
i2p-0.9.47/installer/resources/osid:61:    MANDRAKE=`echo $LINUX_DISTRO | grep Mandrake`
i2p-0.9.47/installer/resources/osid:62:    REDHAT=`echo $LINUX_DISTRO | grep "Red Hat"`
i2p-0.9.47/installer/resources/osid:63:    SUSE=`echo $LINUX_DISTRO | grep Suse`
i2p-0.9.47/installer/resources/osid-64-
##############################################
i2p-0.9.47/installer/resources/poupdate-man.sh-11-#
i2p-0.9.47/installer/resources/poupdate-man.sh:12:cd `dirname $0`
i2p-0.9.47/installer/resources/poupdate-man.sh-13-for i in eepget i2prouter i2prouter-nowrapper
##############################################
i2p-0.9.47/installer/resources/postinstall.sh-36-OS_ARCH=`uname -m`
i2p-0.9.47/installer/resources/postinstall.sh:37:X86_64=`echo "${OS_ARCH}" | grep x86_64`
i2p-0.9.47/installer/resources/postinstall.sh-38-
##############################################
i2p-0.9.47/installer/resources/postinstall.sh-42-        # Wrapper we built for Raspberry Pi does not work on Trimslice armv7.
i2p-0.9.47/installer/resources/postinstall.sh:43:        if [ `echo $OS_ARCH |grep armv8` ]; then
i2p-0.9.47/installer/resources/postinstall.sh-44-            wrapperpath="./lib/wrapper/linux64-armv8"
i2p-0.9.47/installer/resources/postinstall.sh:45:        elif [ `echo $OS_ARCH |grep aarch64` ]; then
i2p-0.9.47/installer/resources/postinstall.sh-46-            wrapperpath="./lib/wrapper/linux64-armv8"
i2p-0.9.47/installer/resources/postinstall.sh:47:        elif [ `echo $OS_ARCH |grep armv7` ]; then
i2p-0.9.47/installer/resources/postinstall.sh-48-            wrapperpath="./lib/wrapper/linux-armv7"
i2p-0.9.47/installer/resources/postinstall.sh:49:        elif [ `echo $OS_ARCH |grep armv6` ]; then
i2p-0.9.47/installer/resources/postinstall.sh-50-            wrapperpath="./lib/wrapper/linux-armv6"
i2p-0.9.47/installer/resources/postinstall.sh:51:        elif [ `echo $OS_ARCH |grep arm` ]; then
i2p-0.9.47/installer/resources/postinstall.sh-52-            wrapperpath="./lib/wrapper/linux-armv5"
i2p-0.9.47/installer/resources/postinstall.sh:53:        elif [ `echo $OS_ARCH |grep ppc` ]; then
i2p-0.9.47/installer/resources/postinstall.sh-54-            wrapperpath="./lib/wrapper/linux-ppc"
##############################################
i2p-0.9.47/installer/resources/postinstall.sh-64-    freebsd )
i2p-0.9.47/installer/resources/postinstall.sh:65:        if [ ! `echo $OS_ARCH | grep amd64` ]; then
i2p-0.9.47/installer/resources/postinstall.sh-66-            wrapperpath="./lib/wrapper/freebsd"
##############################################
i2p-0.9.47/installer/resources/postinstall.sh-112-
i2p-0.9.47/installer/resources/postinstall.sh:113:if [ ! `echo $HOST_OS  |grep osx` ]; then
i2p-0.9.47/installer/resources/postinstall.sh-114-    rm -rf ./Start\ I2P\ Router.app
##############################################
i2p-0.9.47/installer/resources/i2prouter-133-                for var in LANG LANGUAGE LC_ALL LC_CTYPE; do
i2p-0.9.47/installer/resources/i2prouter:134:                        value=`egrep "^${var}=" "$ENV_FILE" | tail -n1 | cut -d= -f2`
i2p-0.9.47/installer/resources/i2prouter-135-                        [ -n "$value" ] && eval export $var=$value
##############################################
i2p-0.9.47/installer/resources/i2prouter-204-    # Change spaces to ":" so the tokens can be parsed.
i2p-0.9.47/installer/resources/i2prouter:205:    SAFESCRIPT=`echo $SCRIPT | sed -e 's; ;:;g'`
i2p-0.9.47/installer/resources/i2prouter-206-    # Get the real path to this script, resolving any symbolic links
i2p-0.9.47/installer/resources/i2prouter:207:    TOKENS=`echo $SAFESCRIPT | sed -e 's;/; ;g'`
i2p-0.9.47/installer/resources/i2prouter-208-    REALPATH=
##############################################
i2p-0.9.47/installer/resources/i2prouter-210-        # Change any ":" in the token back to a space.
i2p-0.9.47/installer/resources/i2prouter:211:        C=`echo $C | sed -e 's;:; ;g'`
i2p-0.9.47/installer/resources/i2prouter-212-        REALPATH="$REALPATH/$C"
##############################################
i2p-0.9.47/installer/resources/i2prouter-214-        while [ -h "$REALPATH" ] ; do
i2p-0.9.47/installer/resources/i2prouter:215:            LS="`ls -ld "$REALPATH"`"
i2p-0.9.47/installer/resources/i2prouter:216:            LINK="`expr "$LS" : '.*-> \(.*\)$'`"
i2p-0.9.47/installer/resources/i2prouter-217-            if expr "$LINK" : '/.*' > /dev/null; then
##############################################
i2p-0.9.47/installer/resources/i2prouter-221-                # LINK is relative.
i2p-0.9.47/installer/resources/i2prouter:222:                REALPATH="`dirname "$REALPATH"`""/$LINK"
i2p-0.9.47/installer/resources/i2prouter-223-            fi
##############################################
i2p-0.9.47/installer/resources/i2prouter-235-# Get the location of the script.
i2p-0.9.47/installer/resources/i2prouter:236:REALDIR=`dirname "$REALPATH"`
i2p-0.9.47/installer/resources/i2prouter-237-# Normalize the path
i2p-0.9.47/installer/resources/i2prouter:238:REALDIR=`cd "${REALDIR}"; pwd`
i2p-0.9.47/installer/resources/i2prouter-239-
##############################################
i2p-0.9.47/installer/resources/i2prouter-241-#  the working directory is later changed.
i2p-0.9.47/installer/resources/i2prouter:242:FIRST_CHAR=`echo $PIDDIR | cut -c1,1`
i2p-0.9.47/installer/resources/i2prouter-243-if [ "$FIRST_CHAR" != "/" ]
##############################################
i2p-0.9.47/installer/resources/i2prouter-247-# Same test for WRAPPER_CMD
i2p-0.9.47/installer/resources/i2prouter:248:FIRST_CHAR=`echo $WRAPPER_CMD | cut -c1,1`
i2p-0.9.47/installer/resources/i2prouter-249-if [ "$FIRST_CHAR" != "/" ]
##############################################
i2p-0.9.47/installer/resources/i2prouter-253-# Same test for WRAPPER_CONF
i2p-0.9.47/installer/resources/i2prouter:254:FIRST_CHAR=`echo $WRAPPER_CONF | cut -c1,1`
i2p-0.9.47/installer/resources/i2prouter-255-if [ "$FIRST_CHAR" != "/" ]
##############################################
i2p-0.9.47/installer/resources/i2prouter-300-# Resolve the os
i2p-0.9.47/installer/resources/i2prouter:301:DIST_OS=`uname -s | $TREXE "[A-Z]" "[a-z]" | $TREXE -d ' '`
i2p-0.9.47/installer/resources/i2prouter-302-case "$DIST_OS" in
##############################################
i2p-0.9.47/installer/resources/i2prouter-338-else
i2p-0.9.47/installer/resources/i2prouter:339:    DIST_ARCH=`uname -m 2>/dev/null | $TREXE "[A-Z]" "[a-z]" | $TREXE -d ' '`
i2p-0.9.47/installer/resources/i2prouter-340-    case "$DIST_ARCH" in
##############################################
i2p-0.9.47/installer/resources/i2prouter-672-        fi
i2p-0.9.47/installer/resources/i2prouter:673:        if [ "`$IDEXE -u -n "$RUN_AS_USER" 2>/dev/null`" != "$RUN_AS_USER" ]
i2p-0.9.47/installer/resources/i2prouter-674-        then
##############################################
i2p-0.9.47/installer/resources/i2prouter-678-
i2p-0.9.47/installer/resources/i2prouter:679:        if [ "`$IDEXE -u -n`" = "$RUN_AS_USER" ]
i2p-0.9.47/installer/resources/i2prouter-680-        then
##############################################
i2p-0.9.47/installer/resources/i2prouter-695-                # Resolve the primary group
i2p-0.9.47/installer/resources/i2prouter:696:                RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
i2p-0.9.47/installer/resources/i2prouter-697-                if [ "X$RUN_AS_GROUP" = "X" ]
##############################################
i2p-0.9.47/installer/resources/i2prouter-749-        then
i2p-0.9.47/installer/resources/i2prouter:750:            pid=`cat "$PIDFILE"`
i2p-0.9.47/installer/resources/i2prouter-751-            if [ "X$pid" != "X" ]
##############################################
i2p-0.9.47/installer/resources/i2prouter-759-                    'freebsd')
i2p-0.9.47/installer/resources/i2prouter:760:                        pidtest=`$PSEXE -p $pid -o args | tail -1`
i2p-0.9.47/installer/resources/i2prouter-761-                        if [ "X$pidtest" = "XCOMMAND" ]
##############################################
i2p-0.9.47/installer/resources/i2prouter-766-                    'macosx')
i2p-0.9.47/installer/resources/i2prouter:767:                        pidtest=`$PSEXE -ww -p $pid -o command | grep -F "$WRAPPER_CMD" | tail -1`
i2p-0.9.47/installer/resources/i2prouter-768-                        ;;
##############################################
i2p-0.9.47/installer/resources/i2prouter-771-                        then
i2p-0.9.47/installer/resources/i2prouter:772:                            pidtest=`pargs $pid | fgrep "$WRAPPER_CMD" | tail -1`
i2p-0.9.47/installer/resources/i2prouter-773-                        else
##############################################
i2p-0.9.47/installer/resources/i2prouter-775-                            '/usr/ucb/ps')
i2p-0.9.47/installer/resources/i2prouter:776:                                pidtest=`$PSEXE -auxww  $pid | fgrep "$WRAPPER_CMD" | tail -1`
i2p-0.9.47/installer/resources/i2prouter-777-                                ;;
i2p-0.9.47/installer/resources/i2prouter-778-                            '/usr/bin/ps')
i2p-0.9.47/installer/resources/i2prouter:779:                                TRUNCATED_CMD=`$PSEXE -o comm -p $pid | tail -1`
i2p-0.9.47/installer/resources/i2prouter:780:                                COUNT=`echo $TRUNCATED_CMD | wc -m`
i2p-0.9.47/installer/resources/i2prouter:781:                                COUNT=`echo ${COUNT}`
i2p-0.9.47/installer/resources/i2prouter:782:                                COUNT=`expr $COUNT - 1`
i2p-0.9.47/installer/resources/i2prouter:783:                                TRUNCATED_CMD=`echo $WRAPPER_CMD | cut -c1-$COUNT`
i2p-0.9.47/installer/resources/i2prouter:784:                                pidtest=`$PSEXE -o comm -p $pid | fgrep "$TRUNCATED_CMD" | tail -1`
i2p-0.9.47/installer/resources/i2prouter-785-                                ;;
i2p-0.9.47/installer/resources/i2prouter-786-                            '/bin/ps')
i2p-0.9.47/installer/resources/i2prouter:787:                                TRUNCATED_CMD=`$PSEXE -o comm -p $pid | tail -1`
i2p-0.9.47/installer/resources/i2prouter:788:                                COUNT=`echo $TRUNCATED_CMD | wc -m`
i2p-0.9.47/installer/resources/i2prouter:789:                                COUNT=`echo ${COUNT}`
i2p-0.9.47/installer/resources/i2prouter:790:                                COUNT=`expr $COUNT - 1`
i2p-0.9.47/installer/resources/i2prouter:791:                                TRUNCATED_CMD=`echo $WRAPPER_CMD | cut -c1-$COUNT`
i2p-0.9.47/installer/resources/i2prouter:792:                                pidtest=`$PSEXE -o comm -p $pid | fgrep "$TRUNCATED_CMD" | tail -1`
i2p-0.9.47/installer/resources/i2prouter-793-                                ;;
##############################################
i2p-0.9.47/installer/resources/i2prouter-801-                    'hpux')
i2p-0.9.47/installer/resources/i2prouter:802:                        pidtest=`$PSEXE -p $pid -x -o args | grep -F "$WRAPPER_CMD" | tail -1`
i2p-0.9.47/installer/resources/i2prouter-803-                        ;;
i2p-0.9.47/installer/resources/i2prouter-804-                    *)
i2p-0.9.47/installer/resources/i2prouter:805:                        pidtest=`$PSEXE -p $pid -o args | grep -F "$WRAPPER_CMD" | tail -1`
i2p-0.9.47/installer/resources/i2prouter-806-                        ;;
##############################################
i2p-0.9.47/installer/resources/i2prouter-829-        then
i2p-0.9.47/installer/resources/i2prouter:830:            STATUS=`cat "$STATUSFILE"`
i2p-0.9.47/installer/resources/i2prouter-831-        fi
##############################################
i2p-0.9.47/installer/resources/i2prouter-842-        then
i2p-0.9.47/installer/resources/i2prouter:843:            JAVASTATUS=`cat "$JAVASTATUSFILE"`
i2p-0.9.47/installer/resources/i2prouter-844-        fi
##############################################
i2p-0.9.47/installer/resources/i2prouter-856-        '/usr/ucb/ps')
i2p-0.9.47/installer/resources/i2prouter:857:            pid=`$PSEXE  $pid | grep $pid | grep -v grep | awk '{print $1}' | tail -1`
i2p-0.9.47/installer/resources/i2prouter-858-            ;;
i2p-0.9.47/installer/resources/i2prouter-859-        '/usr/bin/ps')
i2p-0.9.47/installer/resources/i2prouter:860:            pid=`$PSEXE -p $pid | grep $pid | grep -v grep | awk '{print $1}' | tail -1`
i2p-0.9.47/installer/resources/i2prouter-861-            ;;
i2p-0.9.47/installer/resources/i2prouter-862-        '/bin/ps')
i2p-0.9.47/installer/resources/i2prouter:863:            pid=`$PSEXE -p $pid | grep $pid | grep -v grep | awk '{print $1}' | tail -1`
i2p-0.9.47/installer/resources/i2prouter-864-            ;;
##############################################
i2p-0.9.47/installer/resources/i2prouter-871-    *)
i2p-0.9.47/installer/resources/i2prouter:872:        pid=`$PSEXE -p $pid | grep $pid | grep -v grep | awk '{print $1}' | tail -1` 2>/dev/null
i2p-0.9.47/installer/resources/i2prouter-873-        ;;
##############################################
i2p-0.9.47/installer/resources/i2prouter-919-    else
i2p-0.9.47/installer/resources/i2prouter:920:        eval echo `gettext '$APP_LONG_NAME is already running.'`
i2p-0.9.47/installer/resources/i2prouter-921-        exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-930-console() {
i2p-0.9.47/installer/resources/i2prouter:931:    eval echo "`gettext 'Running $APP_LONG_NAME'`..."
i2p-0.9.47/installer/resources/i2prouter-932-    getpid
##############################################
i2p-0.9.47/installer/resources/i2prouter-947-    else
i2p-0.9.47/installer/resources/i2prouter:948:        eval echo `gettext '$APP_LONG_NAME is already running.'`
i2p-0.9.47/installer/resources/i2prouter-949-        exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-954-    getstatus
i2p-0.9.47/installer/resources/i2prouter:955:    eval $ECHO_MINUS_N "`gettext 'Waiting for $APP_LONG_NAME'`..."
i2p-0.9.47/installer/resources/i2prouter-956-
##############################################
i2p-0.9.47/installer/resources/i2prouter-962-        getstatus
i2p-0.9.47/installer/resources/i2prouter:963:        counter=`expr $counter - 1`
i2p-0.9.47/installer/resources/i2prouter-964-    done
##############################################
i2p-0.9.47/installer/resources/i2prouter-974-        getstatus
i2p-0.9.47/installer/resources/i2prouter:975:        counter=`expr $counter - 1`
i2p-0.9.47/installer/resources/i2prouter-976-    done
##############################################
i2p-0.9.47/installer/resources/i2prouter-994-        $ECHO_MINUS_N "."
i2p-0.9.47/installer/resources/i2prouter:995:        i=`expr $i + 1`
i2p-0.9.47/installer/resources/i2prouter-996-    done
##############################################
i2p-0.9.47/installer/resources/i2prouter-1001-        then
i2p-0.9.47/installer/resources/i2prouter:1002:            eval echo " `gettext 'WARNING: $APP_LONG_NAME may have failed to start.'`"
i2p-0.9.47/installer/resources/i2prouter-1003-        else
##############################################
i2p-0.9.47/installer/resources/i2prouter-1013-    echo "Starting $APP_LONG_NAME.  Detected Mac OSX and installed launchd daemon."
i2p-0.9.47/installer/resources/i2prouter:1014:    if [ `id | sed 's/^uid=//;s/(.*$//'` != "0" ] ; then
i2p-0.9.47/installer/resources/i2prouter-1015-        eval echo `gettext 'Must be root to perform this action.'`
##############################################
i2p-0.9.47/installer/resources/i2prouter-1020-    if [ "X$pid" != "X" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1021:        eval echo `gettext '$APP_LONG_NAME is already running.'`
i2p-0.9.47/installer/resources/i2prouter-1022-        exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1025-    # If the daemon was just installed, it may not be loaded.
i2p-0.9.47/installer/resources/i2prouter:1026:    LOADED_PLIST=`launchctl list | grep ${APP_PLIST_BASE}`
i2p-0.9.47/installer/resources/i2prouter-1027-    if [ "X${LOADED_PLIST}" = "X" ] ; then
##############################################
i2p-0.9.47/installer/resources/i2prouter-1041-    echo "Starting $APP_LONG_NAME.  Detected Linux and installed upstart."
i2p-0.9.47/installer/resources/i2prouter:1042:    if [ `id | sed 's/^uid=//;s/(.*$//'` != "0" ] ; then
i2p-0.9.47/installer/resources/i2prouter-1043-        eval echo `gettext 'Must be root to perform this action.'`
##############################################
i2p-0.9.47/installer/resources/i2prouter-1048-    if [ "X$pid" != "X" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1049:        eval echo `gettext '$APP_LONG_NAME is already running.'`
i2p-0.9.47/installer/resources/i2prouter-1050-        exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1058-start() {
i2p-0.9.47/installer/resources/i2prouter:1059:    eval echo "`gettext 'Starting $APP_LONG_NAME'`..."
i2p-0.9.47/installer/resources/i2prouter-1060-    getpid
##############################################
i2p-0.9.47/installer/resources/i2prouter-1069-    else
i2p-0.9.47/installer/resources/i2prouter:1070:        eval echo `gettext '$APP_LONG_NAME is already running.'`
i2p-0.9.47/installer/resources/i2prouter-1071-        exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1080-
i2p-0.9.47/installer/resources/i2prouter:1081:    eval echo "`gettext 'Stopping $APP_LONG_NAME'`..."
i2p-0.9.47/installer/resources/i2prouter-1082-    getpid
##############################################
i2p-0.9.47/installer/resources/i2prouter-1084-    then
i2p-0.9.47/installer/resources/i2prouter:1085:        eval echo `gettext '$APP_LONG_NAME was not running.'`
i2p-0.9.47/installer/resources/i2prouter-1086-        if [ "X$1" = "X1" ]
##############################################
i2p-0.9.47/installer/resources/i2prouter-1097-                # An explanation for the failure should have been given
i2p-0.9.47/installer/resources/i2prouter:1098:                eval echo `gettext 'Unable to stop $APP_LONG_NAME.'`
i2p-0.9.47/installer/resources/i2prouter-1099-                exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1105-                # An explanation for the failure should have been given
i2p-0.9.47/installer/resources/i2prouter:1106:                eval echo `gettext 'Unable to stop $APP_LONG_NAME.'`
i2p-0.9.47/installer/resources/i2prouter-1107-                exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1121-            then
i2p-0.9.47/installer/resources/i2prouter:1122:                CNT=`expr $CNT + 1`
i2p-0.9.47/installer/resources/i2prouter-1123-            else
i2p-0.9.47/installer/resources/i2prouter:1124:                eval echo "`gettext 'Waiting for $APP_LONG_NAME to exit'`..."
i2p-0.9.47/installer/resources/i2prouter-1125-                CNT=0
i2p-0.9.47/installer/resources/i2prouter-1126-            fi
i2p-0.9.47/installer/resources/i2prouter:1127:            TOTCNT=`expr $TOTCNT + 1`
i2p-0.9.47/installer/resources/i2prouter-1128-
##############################################
i2p-0.9.47/installer/resources/i2prouter-1137-        then
i2p-0.9.47/installer/resources/i2prouter:1138:            eval echo `gettext 'Failed to stop $APP_LONG_NAME.'`
i2p-0.9.47/installer/resources/i2prouter-1139-            exit 1
i2p-0.9.47/installer/resources/i2prouter-1140-        else
i2p-0.9.47/installer/resources/i2prouter:1141:            eval echo `gettext 'Stopped $APP_LONG_NAME.'`
i2p-0.9.47/installer/resources/i2prouter-1142-        fi
##############################################
i2p-0.9.47/installer/resources/i2prouter-1148-
i2p-0.9.47/installer/resources/i2prouter:1149:    eval echo "`gettext 'Stopping $APP_LONG_NAME gracefully'`..."
i2p-0.9.47/installer/resources/i2prouter-1150-    getpid
##############################################
i2p-0.9.47/installer/resources/i2prouter-1152-    then
i2p-0.9.47/installer/resources/i2prouter:1153:        eval echo `gettext '$APP_LONG_NAME was not running.'`
i2p-0.9.47/installer/resources/i2prouter-1154-        if [ "X$1" = "X1" ]
##############################################
i2p-0.9.47/installer/resources/i2prouter-1167-                # An explanation for the failure should have been given
i2p-0.9.47/installer/resources/i2prouter:1168:                eval echo `gettext 'Unable to stop $APP_LONG_NAME.'`
i2p-0.9.47/installer/resources/i2prouter-1169-                exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1175-                # An explanation for the failure should have been given
i2p-0.9.47/installer/resources/i2prouter:1176:                eval echo `gettext 'Unable to stop $APP_LONG_NAME.'`
i2p-0.9.47/installer/resources/i2prouter-1177-                exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1194-    then
i2p-0.9.47/installer/resources/i2prouter:1195:        eval echo `gettext '$APP_LONG_NAME is not running.'`
i2p-0.9.47/installer/resources/i2prouter-1196-        exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1199-        then
i2p-0.9.47/installer/resources/i2prouter:1200:            eval echo `gettext '$APP_LONG_NAME is running: PID:$pid'`
i2p-0.9.47/installer/resources/i2prouter-1201-        else
i2p-0.9.47/installer/resources/i2prouter-1202-            getstatus
i2p-0.9.47/installer/resources/i2prouter:1203:            eval echo `gettext '$APP_LONG_NAME is running: PID:$pid, Wrapper:$STATUS, Java:$JAVASTATUS'`
i2p-0.9.47/installer/resources/i2prouter-1204-        fi
##############################################
i2p-0.9.47/installer/resources/i2prouter-1247-installdaemon() {
i2p-0.9.47/installer/resources/i2prouter:1248:    if [ `id | sed 's/^uid=//;s/(.*$//'` != "0" ] ; then
i2p-0.9.47/installer/resources/i2prouter-1249-        eval echo `gettext 'Must be root to perform this action.'`
##############################################
i2p-0.9.47/installer/resources/i2prouter-1251-    else
i2p-0.9.47/installer/resources/i2prouter:1252:        APP_NAME_LOWER=`echo "$APP_NAME" | $TREXE "[A-Z]" "[a-z]"`
i2p-0.9.47/installer/resources/i2prouter-1253-        if [ "$DIST_OS" = "solaris" ] ; then
##############################################
i2p-0.9.47/installer/resources/i2prouter-1255-            if [ -f /etc/init.d/$APP_NAME ] ; then
i2p-0.9.47/installer/resources/i2prouter:1256:                eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1257-                exit 1
i2p-0.9.47/installer/resources/i2prouter-1258-            else
i2p-0.9.47/installer/resources/i2prouter:1259:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/installer/resources/i2prouter-1260-                ln -s "$REALPATH" "/etc/init.d/$APP_NAME"
##############################################
i2p-0.9.47/installer/resources/i2prouter-1267-                if [ -f "/etc/init.d/$APP_NAME" -o -f "/etc/init/${APP_NAME}.conf" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1268:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1269-                    exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1273-                    else
i2p-0.9.47/installer/resources/i2prouter:1274:                        eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/installer/resources/i2prouter-1275-                        ln -s "$REALPATH" "/etc/init.d/$APP_NAME"
##############################################
i2p-0.9.47/installer/resources/i2prouter-1286-                    if grep -q ${APP_NAME}router /etc/rc.d/rc.local > /dev/null 2>&1; then
i2p-0.9.47/installer/resources/i2prouter:1287:                        eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1288-                        exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1303-                elif [ -f /etc/rc.d/i2p -a ! "$USE_SYSTEMD" = "1" ] || [ -f "$SYSTEMD_SERVICE" -a "$USE_SYSTEMD" = "1" ]; then
i2p-0.9.47/installer/resources/i2prouter:1304:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1305-                    exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1370-                 if [ -f /etc/rc.d/${APP_NAME} -a ! "$USE_SYSTEMD" = "1" ] || [ -f "$SYSTEMD_SERVICE" -a "$USE_SYSTEMD" = "1" ]; then
i2p-0.9.47/installer/resources/i2prouter:1371:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1372-                    exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1375-                        if [ "$USE_SYSTEMD" != "1" ]; then
i2p-0.9.47/installer/resources/i2prouter:1376:                            eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/installer/resources/i2prouter-1377-                            ln -s "$REALPATH" "/etc/init.d/$APP_NAME"
##############################################
i2p-0.9.47/installer/resources/i2prouter-1390-                if [ -f "/etc/init.d/$APP_NAME" -o -f "/etc/init/${APP_NAME}.conf" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1391:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1392-                    exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1404-                if [ -f "/etc/init.d/$APP_NAME" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1405:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1406-                    exit 1
i2p-0.9.47/installer/resources/i2prouter-1407-                else
i2p-0.9.47/installer/resources/i2prouter:1408:                    eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/installer/resources/i2prouter-1409-                    ln -s "$REALPATH" /etc/init.d/$APP_NAME
##############################################
i2p-0.9.47/installer/resources/i2prouter-1418-            if [ -f "/sbin/init.d/$APP_NAME" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1419:                eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1420-                exit 1
i2p-0.9.47/installer/resources/i2prouter-1421-            else
i2p-0.9.47/installer/resources/i2prouter:1422:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/installer/resources/i2prouter-1423-                ln -s "$REALPATH" "/sbin/init.d/$APP_NAME"
##############################################
i2p-0.9.47/installer/resources/i2prouter-1431-                exit 1
i2p-0.9.47/installer/resources/i2prouter:1432:            elif [ -n "`/usr/sbin/lsitab $APP_NAME`" -a -n "`/usr/bin/lssrc -S -s $APP_NAME`" ] ; then
i2p-0.9.47/installer/resources/i2prouter-1433-                echo " The $APP_LONG_NAME daemon is already installed as SRC service."
##############################################
i2p-0.9.47/installer/resources/i2prouter-1435-            else
i2p-0.9.47/installer/resources/i2prouter:1436:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/installer/resources/i2prouter-1437-                if [ -n "`/usr/sbin/lsitab install_assist`" ] ; then
##############################################
i2p-0.9.47/installer/resources/i2prouter-1446-            if [ -f "/etc/rc.d/$APP_NAME" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1447:                eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1448-                exit 1
i2p-0.9.47/installer/resources/i2prouter-1449-            else
i2p-0.9.47/installer/resources/i2prouter:1450:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/installer/resources/i2prouter-1451-                sed -i .bak "/${APP_NAME}_enable=\"YES\"/d" /etc/rc.conf
##############################################
i2p-0.9.47/installer/resources/i2prouter-1484-            if [ -f "/Library/LaunchDaemons/${APP_PLIST}" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1485:                eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1486-                exit 1
i2p-0.9.47/installer/resources/i2prouter-1487-            else
i2p-0.9.47/installer/resources/i2prouter:1488:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/installer/resources/i2prouter-1489-                if [ -f "${REALDIR}/${APP_PLIST}" ] ; then
##############################################
i2p-0.9.47/installer/resources/i2prouter-1519-            if [ -f /etc/rc.bak ] ; then
i2p-0.9.47/installer/resources/i2prouter:1520:                eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1521-                exit 1
i2p-0.9.47/installer/resources/i2prouter-1522-            else
i2p-0.9.47/installer/resources/i2prouter:1523:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/installer/resources/i2prouter-1524-                cp /etc/rc /etc/rc.bak
##############################################
i2p-0.9.47/installer/resources/i2prouter-1529-        else
i2p-0.9.47/installer/resources/i2prouter:1530:            eval echo `gettext 'Install not currently supported for $DIST_OS'`
i2p-0.9.47/installer/resources/i2prouter-1531-            exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1536-removedaemon() {
i2p-0.9.47/installer/resources/i2prouter:1537:    if [ `id | sed 's/^uid=//;s/(.*$//'` != "0" ] ; then
i2p-0.9.47/installer/resources/i2prouter-1538-        eval echo `gettext 'Must be root to perform this action.'`
##############################################
i2p-0.9.47/installer/resources/i2prouter-1541-        stopit "0"
i2p-0.9.47/installer/resources/i2prouter:1542:        APP_NAME_LOWER=`echo "$APP_NAME" | $TREXE "[A-Z]" "[a-z]"`
i2p-0.9.47/installer/resources/i2prouter-1543-        if [ "$DIST_OS" = "solaris" ] ; then
##############################################
i2p-0.9.47/installer/resources/i2prouter-1545-            if [ -f "/etc/init.d/$APP_NAME" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1546:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/installer/resources/i2prouter-1547-                for i in "/etc/rc3.d/S20$APP_NAME_LOWER" "/etc/rc3.d/K20$APP_NAME_LOWER" "/etc/init.d/$APP_NAME"
##############################################
i2p-0.9.47/installer/resources/i2prouter-1551-            else
i2p-0.9.47/installer/resources/i2prouter:1552:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1553-                exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1558-                if [ -f "/etc/init.d/$APP_NAME" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1559:                    eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/installer/resources/i2prouter-1560-                    /sbin/chkconfig "$APP_NAME" off
##############################################
i2p-0.9.47/installer/resources/i2prouter-1566-                else
i2p-0.9.47/installer/resources/i2prouter:1567:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1568-                    exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1572-                if grep -q ${APP_NAME}router /etc/rc.d/rc.local > /dev/null 2>&1 ; then
i2p-0.9.47/installer/resources/i2prouter:1573:                    eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/installer/resources/i2prouter-1574-                    sed -i "/i2prouter/d" /etc/rc.d/rc.local /etc/rc.d/rc.local_shutdown
i2p-0.9.47/installer/resources/i2prouter-1575-                else
i2p-0.9.47/installer/resources/i2prouter:1576:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1577-                    exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1581-                if [ -f "/etc/rc.d/$APP_NAME" -o -f "$SYSTEMD_SERVICE" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1582:                    eval echo "`gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/installer/resources/i2prouter-1583-                    rm -f "/etc/rc.d/$APP_NAME"
##############################################
i2p-0.9.47/installer/resources/i2prouter-1585-                else
i2p-0.9.47/installer/resources/i2prouter:1586:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1587-                    exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1591-                if [ -f "/etc/init.d/$APP_NAME" -o ${SYSTEMD_SERVICE} ] ; then
i2p-0.9.47/installer/resources/i2prouter:1592:                    eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/installer/resources/i2prouter-1593-                    insserv -r "/etc/init.d/$APP_NAME"
##############################################
i2p-0.9.47/installer/resources/i2prouter-1596-                else
i2p-0.9.47/installer/resources/i2prouter:1597:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1598-                    exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1609-                else
i2p-0.9.47/installer/resources/i2prouter:1610:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1611-                    exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1615-                if [ -f "/etc/init.d/$APP_NAME" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1616:                    eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/installer/resources/i2prouter-1617-                    for i in "/etc/rc3.d/K20$APP_NAME_LOWER" "/etc/rc5.d/K20$APP_NAME_LOWER" "/etc/rc3.d/S20$APP_NAME_LOWER" "/etc/init.d/$APP_NAME" "/etc/rc5.d/S20$APP_NAME_LOWER"
##############################################
i2p-0.9.47/installer/resources/i2prouter-1621-                else
i2p-0.9.47/installer/resources/i2prouter:1622:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1623-                    exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1628-            if [ -f "/sbin/init.d/$APP_NAME" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1629:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/installer/resources/i2prouter-1630-                for i in "/sbin/rc3.d/K20$APP_NAME_LOWER" "/sbin/rc3.d/S20$APP_NAME_LOWER" "/sbin/init.d/$APP_NAME"
##############################################
i2p-0.9.47/installer/resources/i2prouter-1634-            else
i2p-0.9.47/installer/resources/i2prouter:1635:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1636-                exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1639-            echo 'Detected AIX:'
i2p-0.9.47/installer/resources/i2prouter:1640:            if [ -f "/etc/rc.d/init.d/$APP_NAME" -o -n "`/usr/sbin/lsitab $APP_NAME`" -o -n "`/usr/bin/lssrc -S -s $APP_NAME`" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1641:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/installer/resources/i2prouter-1642-                if [ -f "/etc/rc.d/init.d/$APP_NAME" ] ; then
##############################################
i2p-0.9.47/installer/resources/i2prouter-1647-                fi
i2p-0.9.47/installer/resources/i2prouter:1648:                if [ -n "`/usr/sbin/lsitab $APP_NAME`" -o -n "`/usr/bin/lssrc -S -s $APP_NAME`" ] ; then
i2p-0.9.47/installer/resources/i2prouter-1649-                    /usr/sbin/rmitab $APP_NAME
##############################################
i2p-0.9.47/installer/resources/i2prouter-1652-            else
i2p-0.9.47/installer/resources/i2prouter:1653:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1654-                exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1658-            if [ -f "/etc/rc.d/$APP_NAME" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1659:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/installer/resources/i2prouter-1660-                for i in "/etc/rc.d/$APP_NAME"
##############################################
i2p-0.9.47/installer/resources/i2prouter-1665-            else
i2p-0.9.47/installer/resources/i2prouter:1666:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1667-                exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1671-            if [ -f "/Library/LaunchDaemons/${APP_PLIST}" ] ; then
i2p-0.9.47/installer/resources/i2prouter:1672:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/installer/resources/i2prouter-1673-                # Make sure the plist is installed
i2p-0.9.47/installer/resources/i2prouter:1674:                LOADED_PLIST=`launchctl list | grep ${APP_PLIST_BASE}`
i2p-0.9.47/installer/resources/i2prouter-1675-                if [ "X${LOADED_PLIST}" != "X" ] ; then
##############################################
i2p-0.9.47/installer/resources/i2prouter-1679-            else
i2p-0.9.47/installer/resources/i2prouter:1680:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1681-                exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1685-            if [ -f /etc/rc.bak ] ; then
i2p-0.9.47/installer/resources/i2prouter:1686:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/installer/resources/i2prouter-1687-                cp /etc/rc /etc/rc.bak
##############################################
i2p-0.9.47/installer/resources/i2prouter-1690-            else
i2p-0.9.47/installer/resources/i2prouter:1691:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/installer/resources/i2prouter-1692-                exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1694-        else
i2p-0.9.47/installer/resources/i2prouter:1695:            eval echo `gettext 'Remove not currently supported for $DIST_OS'`
i2p-0.9.47/installer/resources/i2prouter-1696-            exit 1
##############################################
i2p-0.9.47/installer/resources/i2prouter-1705-    then
i2p-0.9.47/installer/resources/i2prouter:1706:        eval echo `gettext '$APP_LONG_NAME was not running.'`
i2p-0.9.47/installer/resources/i2prouter-1707-    else
##############################################
i2p-0.9.47/installer/resources/i2prouter-1808-checkifstartingasroot() {
i2p-0.9.47/installer/resources/i2prouter:1809:    if [ ! `grep ^RUN_AS_USER $0` ] && [ ! `grep ^ALLOW_ROOT $0` ] && [ `id -ur` = '0' ]; then
i2p-0.9.47/installer/resources/i2prouter-1810-        echo "`gettext 'Running I2P as the root user is *not* recommended.'`"
##############################################
i2p-0.9.47/installer/resources/runplain.sh-34-
i2p-0.9.47/installer/resources/runplain.sh:35:for jar in `ls ${I2P}/lib/*.jar`; do
i2p-0.9.47/installer/resources/runplain.sh-36-    if [ ! -z $CP ]; then
##############################################
i2p-0.9.47/core/perl/i2pbench.sh-25-	print "[BENCHMARK] $testclass:\n\n";
i2p-0.9.47/core/perl/i2pbench.sh:26:	system("$javacommand net.i2p.crypto.$testclass");
i2p-0.9.47/core/perl/i2pbench.sh-27-	print "\n";
##############################################
i2p-0.9.47/core/perl/i2pbench.sh-33-
i2p-0.9.47/core/perl/i2pbench.sh:34:system("$javacommand net.i2p.util.NativeBigInteger");
i2p-0.9.47/core/perl/i2pbench.sh-35-
##############################################
i2p-0.9.47/core/perl/i2ptest.sh-40-	print "[TEST] $testclass: ";
i2p-0.9.47/core/perl/i2ptest.sh:41:	if(! system("$javacommand net.i2p.data.TestData test $testclass $testclass.dat > /dev/null 2>test.tmp")) {
i2p-0.9.47/core/perl/i2ptest.sh-42-		print "OK\n";
##############################################
i2p-0.9.47/core/perl/i2ptest.sh-53-	}
i2p-0.9.47/core/perl/i2ptest.sh:54:	system("rm -f $testclass.dat test.tmp > /dev/null 2>&1");
i2p-0.9.47/core/perl/i2ptest.sh-55-}
##############################################
i2p-0.9.47/core/perl/i2ptest.sh-70-		print "[TEST] $testclass: ";
i2p-0.9.47/core/perl/i2ptest.sh:71:		if(! system("$javacommand net.i2p.crypto.SessionEncryptionTest > /dev/null 2>test.tmp")) {
i2p-0.9.47/core/perl/i2ptest.sh-72-			print "OK\n";
##############################################
i2p-0.9.47/core/perl/i2ptest.sh-84-		print "[TEST] $testclass:\n\n";
i2p-0.9.47/core/perl/i2ptest.sh:85:		if(! system("$javacommand net.i2p.crypto.$testclass")) {
i2p-0.9.47/core/perl/i2ptest.sh-86-			$passed++;
##############################################
i2p-0.9.47/core/perl/i2ptest.sh-109-		print "[TEST] $testclass:\n\n";
i2p-0.9.47/core/perl/i2ptest.sh:110:		if(! system("$javacommand net.i2p.data.UnsignedInteger")) {
i2p-0.9.47/core/perl/i2ptest.sh-111-			$passed++;
##############################################
i2p-0.9.47/core/perl/i2ptest.sh-117-		print "[TEST] $testclass: ";
i2p-0.9.47/core/perl/i2ptest.sh:118:		if(! system("$javacommand $testclass > /dev/null 2>test.tmp")) {
i2p-0.9.47/core/perl/i2ptest.sh-119-			print "OK\n";
##############################################
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519ScalarOps.java-35-     *   $s[0]+256*s[1]+\dots+256^{31}*s[31] = s \bmod q$
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519ScalarOps.java:36:     *   where $q = 2^{252} + 27742317777372353535851937790883648493$.
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519ScalarOps.java-37-     */
##############################################
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519ScalarOps.java-336-     *   $result[0]+256*result[1]+\dots+256^{31}*result[31] = (ab+c) \bmod q$
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519ScalarOps.java:337:     *   where $q = 2^{252} + 27742317777372353535851937790883648493$.
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519ScalarOps.java-338-     * <p>
##############################################
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java-32-     * <li>$p = 2^{255} - 19$
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java:33:     * <li>$h = h_0 + 2^{25} * h_1 + 2^{(26+25)} * h_2 + \dots + 2^{230} * h_9$ where $0 \le |h_i| \lt 2^{27}$ for all $i=0,\dots,9$.
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java-34-     * <li>$h \cong r \mod p$, i.e. $h = r + q * p$ for some suitable $0 \le r \lt p$ and an integer $q$.
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java-35-     * </ul><p>
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java:36:     * Then $q = [2^{-255} * (h + 19 * 2^{-25} * h_9 + 1/2)]$ where $[x] = floor(x)$.
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java-37-     * </p>
##############################################
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java-587-     * Doubles a given group element $p$ in $P^2$ or $P^3$ representation and returns the result in $P \times P$ representation.
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:588:     * $r = 2 * p$ where $p = (X : Y : Z)$ or $p = (X : Y : Z : T)$
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java-589-     * <p>
##############################################
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java-1028-    /**
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java:1029:     * $r = a * A + b * B$ where $a = a[0]+256*a[1]+\dots+256^{31} a[31]$,
i2p-0.9.47/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java-1030-     * $b = b[0]+256*b[1]+\dots+256^{31} b[31]$ and $B$ is this point.
##############################################
i2p-0.9.47/core/java/src/net/i2p/client/naming/EepGetNamingService.java-88-            String url = URLs.get(i);
i2p-0.9.47/core/java/src/net/i2p/client/naming/EepGetNamingService.java:89:            String key = fetchAddr(url, hostname);	  	
i2p-0.9.47/core/java/src/net/i2p/client/naming/EepGetNamingService.java-90-            if (key != null) {
##############################################
i2p-0.9.47/core/java/src/net/i2p/client/naming/EepGetNamingService.java-101-    private static final int MAX_RESPONSE = DEST_SIZE + 68 + 10; // allow for hostname= and some trailing stuff
i2p-0.9.47/core/java/src/net/i2p/client/naming/EepGetNamingService.java:102:    private String fetchAddr(String url, String hostname) {
i2p-0.9.47/core/java/src/net/i2p/client/naming/EepGetNamingService.java-103-        ByteArrayOutputStream baos = new ByteArrayOutputStream(MAX_RESPONSE);
##############################################
i2p-0.9.47/core/java/src/net/i2p/util/Addresses.java-602-
i2p-0.9.47/core/java/src/net/i2p/util/Addresses.java:603:        public Inet6Addr(Inet6Address a, int flags) {
i2p-0.9.47/core/java/src/net/i2p/util/Addresses.java-604-            addr = a;
##############################################
i2p-0.9.47/core/java/src/net/i2p/util/Addresses.java-658-                } catch (NumberFormatException nfe) {}
i2p-0.9.47/core/java/src/net/i2p/util/Addresses.java:659:                Inet6Addr a = new Inet6Addr(addr, flags);
i2p-0.9.47/core/java/src/net/i2p/util/Addresses.java-660-                _ifCache.put(addr, a);
##############################################
i2p-0.9.47/core/java/src/net/i2p/util/Addresses.java-865-        // Windows: netsh interface ipv6 show privacy
i2p-0.9.47/core/java/src/net/i2p/util/Addresses.java:866:        // Mac: sysctl net.inet6.ip6.use_tempaddr (1 is enabled)
i2p-0.9.47/core/java/src/net/i2p/util/Addresses.java-867-        if (SystemVersion.isMac() || SystemVersion.isWindows())
##############################################
i2p-0.9.47/core/c/jbigi/build_jbigi.sh-32-# If JAVA_HOME isn't set we'll try to figure it out
i2p-0.9.47/core/c/jbigi/build_jbigi.sh:33:[ -z $JAVA_HOME ] && . `dirname $0`/../find-java-home
i2p-0.9.47/core/c/jbigi/build_jbigi.sh-34-if [ ! -f "$JAVA_HOME/include/jni.h" ]; then
##############################################
i2p-0.9.47/core/c/jcpuid/build.sh-2-
i2p-0.9.47/core/c/jcpuid/build.sh:3:cd `dirname $0`
i2p-0.9.47/core/c/jcpuid/build.sh-4-rm -rf lib
##############################################
i2p-0.9.47/core/c/jcpuid/build.sh-159-${CC_PREFIX}strip ${LIBFILE} || (echo "Failed to strip ${LIBFILE}" ; exit 1)
i2p-0.9.47/core/c/jcpuid/build.sh:160:echo Built `dirname $0`/${LIBFILE}
##############################################
i2p-0.9.47/core/c/jcpuid/src/jcpuid.c-47-     {
i2p-0.9.47/core/c/jcpuid/src/jcpuid.c:48:        asm volatile("cpuid"
i2p-0.9.47/core/c/jcpuid/src/jcpuid.c-49-                     : "=a"(reg[0]), "=b"(reg[1]), "=c"(reg[2]), "=d"(reg[3])
##############################################
i2p-0.9.47/core/c/jcpuid/src/jcpuid.c-73-		//Use MSVC assembler notation
i2p-0.9.47/core/c/jcpuid/src/jcpuid.c:74:		_asm 
i2p-0.9.47/core/c/jcpuid/src/jcpuid.c-75-		{
##############################################
i2p-0.9.47/core/c/jcpuid/src/jcpuid.c-86-		//Use GCC assembler notation
i2p-0.9.47/core/c/jcpuid/src/jcpuid.c:87:		asm volatile
i2p-0.9.47/core/c/jcpuid/src/jcpuid.c-88-		(
##############################################
i2p-0.9.47/tests/scripts/checkpo.sh-9-
i2p-0.9.47/tests/scripts/checkpo.sh:10:cd `dirname $0`/../..
i2p-0.9.47/tests/scripts/checkpo.sh-11-
##############################################
i2p-0.9.47/tests/scripts/checkpo.sh-30-
i2p-0.9.47/tests/scripts/checkpo.sh:31:for i in `find $DIRS -maxdepth 1 -type f -name \*.po` $FILES
i2p-0.9.47/tests/scripts/checkpo.sh-32-do
##############################################
i2p-0.9.47/tests/scripts/checkxml.sh-11-
i2p-0.9.47/tests/scripts/checkxml.sh:12:cd `dirname $0`/../..
i2p-0.9.47/tests/scripts/checkxml.sh-13-
##############################################
i2p-0.9.47/tests/scripts/testjbigi.sh-12-
i2p-0.9.47/tests/scripts/testjbigi.sh:13:cd `dirname $0`/../../installer/lib/jbigi
i2p-0.9.47/tests/scripts/testjbigi.sh-14-
##############################################
i2p-0.9.47/tests/scripts/checkcerts.sh-152-        # date2julian needs the format mm dd yyyy
i2p-0.9.47/tests/scripts/checkcerts.sh:153:        SECS=$(date2julian `getmonth $1` $2 $4)
i2p-0.9.47/tests/scripts/checkcerts.sh-154-        DAYS=$(expr $SECS - $NOW)
##############################################
i2p-0.9.47/tests/scripts/checkcerts.sh-174-
i2p-0.9.47/tests/scripts/checkcerts.sh:175:cd `dirname $0`/../../installer/resources/certificates
i2p-0.9.47/tests/scripts/checkcerts.sh-176-
##############################################
i2p-0.9.47/tests/scripts/checkcerts.sh-179-    echo "Checking $i ..."
i2p-0.9.47/tests/scripts/checkcerts.sh:180:    EXPIRES=`checkcert $i`
i2p-0.9.47/tests/scripts/checkcerts.sh-181-    if [ -z "$EXPIRES" ]; then
##############################################
i2p-0.9.47/tests/scripts/checkscripts.sh-8-
i2p-0.9.47/tests/scripts/checkscripts.sh:9:cd `dirname $0`/../..
i2p-0.9.47/tests/scripts/checkscripts.sh-10-
##############################################
i2p-0.9.47/tests/scripts/checkutf8.sh-10-
i2p-0.9.47/tests/scripts/checkutf8.sh:11:cd `dirname $0`/../..
i2p-0.9.47/tests/scripts/checkutf8.sh-12-
##############################################
i2p-0.9.47/tests/scripts/checkutf8.sh-34-
i2p-0.9.47/tests/scripts/checkutf8.sh:35:for i in `find $DIRS -maxdepth 1 -type f`
i2p-0.9.47/tests/scripts/checkutf8.sh-36-do
##############################################
i2p-0.9.47/debian/i2p.init-54-    for var in LANG LANGUAGE LC_ALL LC_CTYPE; do
i2p-0.9.47/debian/i2p.init:55:        value=`egrep "^${var}=" "$ENV_FILE" | tail -n1 | cut -d= -f2`
i2p-0.9.47/debian/i2p.init-56-        [ -n "$value" ] && eval export $var=$value
##############################################
i2p-0.9.47/debian/patches/0001-path-substitution.patch-155-         then
i2p-0.9.47/debian/patches/0001-path-substitution.patch:156:             eval echo " `gettext 'WARNING: $APP_LONG_NAME may have failed to start.'`"
i2p-0.9.47/debian/patches/0001-path-substitution.patch-157--            failed
##############################################
i2p-0.9.47/debian/patches/0001-path-substitution.patch-184--            installdaemon
i2p-0.9.47/debian/patches/0001-path-substitution.patch:185:-            if [ ! `grep ^RUN_AS_USER $0` ]; then
i2p-0.9.47/debian/patches/0001-path-substitution.patch-186--                 echo
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-142-                for var in LANG LANGUAGE LC_ALL LC_CTYPE; do
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:143:                        value=`egrep "^${var}=" "$ENV_FILE" | tail -n1 | cut -d= -f2`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-144-                        [ -n "$value" ] && eval export $var=$value
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-282-    # Change spaces to ":" so the tokens can be parsed.
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:283:    SAFESCRIPT=`echo $SCRIPT | sed -e 's; ;:;g'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-284-    # Get the real path to this script, resolving any symbolic links
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:285:    TOKENS=`echo $SAFESCRIPT | sed -e 's;/; ;g'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-286-    REALPATH=
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-288-        # Change any ":" in the token back to a space.
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:289:        C=`echo $C | sed -e 's;:; ;g'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-290-        REALPATH="$REALPATH/$C"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-292-        while [ -h "$REALPATH" ] ; do
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:293:            LS="`ls -ld "$REALPATH"`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:294:            LINK="`expr "$LS" : '.*-> \(.*\)$'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-295-            if expr "$LINK" : '/.*' > /dev/null; then
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-299-                # LINK is relative.
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:300:                REALPATH="`dirname "$REALPATH"`""/$LINK"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-301-            fi
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-313-# Get the location of the script.
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:314:REALDIR=`dirname "$REALPATH"`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-315-# Normalize the path
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:316:REALDIR=`cd "${REALDIR}"; pwd`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-317-
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-319-#  the working directory is later changed.
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:320:FIRST_CHAR=`echo $PIDDIR | cut -c1,1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-321-if [ "$FIRST_CHAR" != "/" ]
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-325-# Same test for WRAPPER_CMD
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:326:FIRST_CHAR=`echo $WRAPPER_CMD | cut -c1,1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-327-if [ "$FIRST_CHAR" != "/" ]
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-331-# Same test for WRAPPER_CONF
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:332:FIRST_CHAR=`echo $WRAPPER_CONF | cut -c1,1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-333-if [ "$FIRST_CHAR" != "/" ]
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-378-# Resolve the os
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:379:DIST_OS=`uname -s | $TREXE "[A-Z]" "[a-z]" | $TREXE -d ' '`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-380-case "$DIST_OS" in
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-416-else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:417:    DIST_ARCH=`uname -m 2>/dev/null | $TREXE "[A-Z]" "[a-z]" | $TREXE -d ' '`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-418-    case "$DIST_ARCH" in
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-750-        fi
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:751:        if [ "`$IDEXE -u -n "$RUN_AS_USER" 2>/dev/null`" != "$RUN_AS_USER" ]
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-752-        then
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-756-
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:757:        if [ "`$IDEXE -u -n`" = "$RUN_AS_USER" ]
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-758-        then
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-773-                # Resolve the primary group
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:774:                RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-775-                if [ "X$RUN_AS_GROUP" = "X" ]
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-827-        then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:828:            pid=`cat "$PIDFILE"`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-829-            if [ "X$pid" != "X" ]
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-837-                    'freebsd')
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:838:                        pidtest=`$PSEXE -p $pid -o args | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-839-                        if [ "X$pidtest" = "XCOMMAND" ]
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-844-                    'macosx')
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:845:                        pidtest=`$PSEXE -ww -p $pid -o command | grep -F "$WRAPPER_CMD" | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-846-                        ;;
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-849-                        then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:850:                            pidtest=`pargs $pid | fgrep "$WRAPPER_CMD" | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-851-                        else
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-853-                            '/usr/ucb/ps')
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:854:                                pidtest=`$PSEXE -auxww  $pid | fgrep "$WRAPPER_CMD" | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-855-                                ;;
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-856-                            '/usr/bin/ps')
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:857:                                TRUNCATED_CMD=`$PSEXE -o comm -p $pid | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:858:                                COUNT=`echo $TRUNCATED_CMD | wc -m`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:859:                                COUNT=`echo ${COUNT}`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:860:                                COUNT=`expr $COUNT - 1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:861:                                TRUNCATED_CMD=`echo $WRAPPER_CMD | cut -c1-$COUNT`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:862:                                pidtest=`$PSEXE -o comm -p $pid | fgrep "$TRUNCATED_CMD" | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-863-                                ;;
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-864-                            '/bin/ps')
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:865:                                TRUNCATED_CMD=`$PSEXE -o comm -p $pid | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:866:                                COUNT=`echo $TRUNCATED_CMD | wc -m`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:867:                                COUNT=`echo ${COUNT}`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:868:                                COUNT=`expr $COUNT - 1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:869:                                TRUNCATED_CMD=`echo $WRAPPER_CMD | cut -c1-$COUNT`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:870:                                pidtest=`$PSEXE -o comm -p $pid | fgrep "$TRUNCATED_CMD" | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-871-                                ;;
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-879-                    'hpux')
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:880:                        pidtest=`$PSEXE -p $pid -x -o args | grep -F "$WRAPPER_CMD" | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-881-                        ;;
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-882-                    *)
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:883:                        pidtest=`$PSEXE -p $pid -o args | grep -F "$WRAPPER_CMD" | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-884-                        ;;
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-907-        then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:908:            STATUS=`cat "$STATUSFILE"`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-909-        fi
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-920-        then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:921:            JAVASTATUS=`cat "$JAVASTATUSFILE"`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-922-        fi
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-934-        '/usr/ucb/ps')
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:935:            pid=`$PSEXE  $pid | grep $pid | grep -v grep | awk '{print $1}' | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-936-            ;;
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-937-        '/usr/bin/ps')
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:938:            pid=`$PSEXE -p $pid | grep $pid | grep -v grep | awk '{print $1}' | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-939-            ;;
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-940-        '/bin/ps')
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:941:            pid=`$PSEXE -p $pid | grep $pid | grep -v grep | awk '{print $1}' | tail -1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-942-            ;;
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-949-    *)
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:950:        pid=`$PSEXE -p $pid | grep $pid | grep -v grep | awk '{print $1}' | tail -1` 2>/dev/null
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-951-        ;;
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-997-    else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:998:        eval echo `gettext '$APP_LONG_NAME is already running.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-999-        exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1008-console() {
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1009:    eval echo "`gettext 'Running $APP_LONG_NAME'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1010-    getpid
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1025-    else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1026:        eval echo `gettext '$APP_LONG_NAME is already running.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1027-        exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1032-    getstatus
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1033:    eval $ECHO_MINUS_N "`gettext 'Waiting for $APP_LONG_NAME'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1034-
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1040-        getstatus
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1041:        counter=`expr $counter - 1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1042-    done
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1052-        getstatus
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1053:        counter=`expr $counter - 1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1054-    done
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1072-        $ECHO_MINUS_N "."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1073:        i=`expr $i + 1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1074-    done
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1079-        then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1080:            eval echo " `gettext 'WARNING: $APP_LONG_NAME may have failed to start.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1081-            failed
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1092-    echo "Starting $APP_LONG_NAME.  Detected Mac OSX and installed launchd daemon."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1093:    if [ `id | sed 's/^uid=//;s/(.*$//'` != "0" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1094-        eval echo `gettext 'Must be root to perform this action.'`
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1099-    if [ "X$pid" != "X" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1100:        eval echo `gettext '$APP_LONG_NAME is already running.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1101-        exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1104-    # If the daemon was just installed, it may not be loaded.
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1105:    LOADED_PLIST=`launchctl list | grep ${APP_PLIST_BASE}`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1106-    if [ "X${LOADED_PLIST}" = "X" ] ; then
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1120-    echo "Starting $APP_LONG_NAME.  Detected Linux and installed upstart."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1121:    if [ `id | sed 's/^uid=//;s/(.*$//'` != "0" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1122-        eval echo `gettext 'Must be root to perform this action.'`
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1127-    if [ "X$pid" != "X" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1128:        eval echo `gettext '$APP_LONG_NAME is already running.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1129-        exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1137-start() {
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1138:    eval echo "`gettext 'Starting $APP_LONG_NAME'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1139-    getpid
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1148-    else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1149:        eval echo `gettext '$APP_LONG_NAME is already running.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1150-        exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1159-
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1160:    eval echo "`gettext 'Stopping $APP_LONG_NAME'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1161-    getpid
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1163-    then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1164:        eval echo `gettext '$APP_LONG_NAME was not running.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1165-        if [ "X$1" = "X1" ]
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1176-                # An explanation for the failure should have been given
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1177:                eval echo `gettext 'Unable to stop $APP_LONG_NAME.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1178-                exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1184-                # An explanation for the failure should have been given
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1185:                eval echo `gettext 'Unable to stop $APP_LONG_NAME.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1186-                exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1200-            then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1201:                CNT=`expr $CNT + 1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1202-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1203:                eval echo "`gettext 'Waiting for $APP_LONG_NAME to exit'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1204-                CNT=0
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1205-            fi
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1206:            TOTCNT=`expr $TOTCNT + 1`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1207-
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1216-        then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1217:            eval echo `gettext 'Failed to stop $APP_LONG_NAME.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1218-            exit 1
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1219-        else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1220:            eval echo `gettext 'Stopped $APP_LONG_NAME.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1221-        fi
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1227-
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1228:    eval echo "`gettext 'Stopping $APP_LONG_NAME gracefully'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1229-    getpid
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1231-    then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1232:        eval echo `gettext '$APP_LONG_NAME was not running.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1233-        if [ "X$1" = "X1" ]
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1246-                # An explanation for the failure should have been given
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1247:                eval echo `gettext 'Unable to stop $APP_LONG_NAME.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1248-                exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1254-                # An explanation for the failure should have been given
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1255:                eval echo `gettext 'Unable to stop $APP_LONG_NAME.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1256-                exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1273-    then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1274:        eval echo `gettext '$APP_LONG_NAME is not running.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1275-        exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1278-        then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1279:            eval echo `gettext '$APP_LONG_NAME is running: PID:$pid'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1280-        else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1281-            getstatus
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1282:            eval echo `gettext '$APP_LONG_NAME is running: PID:$pid, Wrapper:$STATUS, Java:$JAVASTATUS'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1283-        fi
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1326-installdaemon() {
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1327:    if [ `id | sed 's/^uid=//;s/(.*$//'` != "0" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1328-        eval echo `gettext 'Must be root to perform this action.'`
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1330-    else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1331:        APP_NAME_LOWER=`echo "$APP_NAME" | $TREXE "[A-Z]" "[a-z]"`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1332-        if [ "$DIST_OS" = "solaris" ] ; then
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1334-            if [ -f /etc/init.d/$APP_NAME ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1335:                eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1336-                exit 1
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1337-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1338:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1339-                ln -s "$REALPATH" "/etc/init.d/$APP_NAME"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1346-                if [ -f "/etc/init.d/$APP_NAME" -o -f "/etc/init/${APP_NAME}.conf" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1347:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1348-                    exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1352-                    else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1353:                        eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1354-                        ln -s "$REALPATH" "/etc/init.d/$APP_NAME"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1365-                    if grep -q ${APP_NAME}router /etc/rc.d/rc.local > /dev/null 2>&1; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1366:                        eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1367-                        exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1382-                elif [ -f /etc/rc.d/i2p -a ! "$USE_SYSTEMD" = "1" ] || [ -f "$SYSTEMD_SERVICE" -a "$USE_SYSTEMD" = "1" ]; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1383:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1384-                    exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1449-                 if [ -f /etc/rc.d/${APP_NAME} -a ! "$USE_SYSTEMD" = "1" ] || [ -f "$SYSTEMD_SERVICE" -a "$USE_SYSTEMD" = "1" ]; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1450:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1451-                    exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1454-                        if [ "$USE_SYSTEMD" != "1" ]; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1455:                            eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1456-                            ln -s "$REALPATH" "/etc/init.d/$APP_NAME"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1469-                if [ -f "/etc/init.d/$APP_NAME" -o -f "/etc/init/${APP_NAME}.conf" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1470:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1471-                    exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1483-                if [ -f "/etc/init.d/$APP_NAME" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1484:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1485-                    exit 1
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1486-                else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1487:                    eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1488-                    ln -s "$REALPATH" /etc/init.d/$APP_NAME
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1497-            if [ -f "/sbin/init.d/$APP_NAME" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1498:                eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1499-                exit 1
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1500-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1501:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1502-                ln -s "$REALPATH" "/sbin/init.d/$APP_NAME"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1510-                exit 1
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1511:            elif [ -n "`/usr/sbin/lsitab $APP_NAME`" -a -n "`/usr/bin/lssrc -S -s $APP_NAME`" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1512-                echo " The $APP_LONG_NAME daemon is already installed as SRC service."
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1514-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1515:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1516-                if [ -n "`/usr/sbin/lsitab install_assist`" ] ; then
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1525-            if [ -f "/etc/rc.d/$APP_NAME" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1526:                eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1527-                exit 1
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1528-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1529:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1530-                sed -i .bak "/${APP_NAME}_enable=\"YES\"/d" /etc/rc.conf
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1563-            if [ -f "/Library/LaunchDaemons/${APP_PLIST}" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1564:                eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1565-                exit 1
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1566-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1567:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1568-                if [ -f "${REALDIR}/${APP_PLIST}" ] ; then
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1598-            if [ -f /etc/rc.bak ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1599:                eval echo " `gettext 'The $APP_LONG_NAME daemon is already installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1600-                exit 1
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1601-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1602:                eval echo " `gettext 'Installing the $APP_LONG_NAME daemon'`.."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1603-                cp /etc/rc /etc/rc.bak
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1608-        else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1609:            eval echo `gettext 'Install not currently supported for $DIST_OS'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1610-            exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1615-removedaemon() {
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1616:    if [ `id | sed 's/^uid=//;s/(.*$//'` != "0" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1617-        eval echo `gettext 'Must be root to perform this action.'`
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1620-        stopit "0"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1621:        APP_NAME_LOWER=`echo "$APP_NAME" | $TREXE "[A-Z]" "[a-z]"`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1622-        if [ "$DIST_OS" = "solaris" ] ; then
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1624-            if [ -f "/etc/init.d/$APP_NAME" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1625:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1626-                for i in "/etc/rc3.d/S20$APP_NAME_LOWER" "/etc/rc3.d/K20$APP_NAME_LOWER" "/etc/init.d/$APP_NAME"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1630-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1631:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1632-                exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1637-                if [ -f "/etc/init.d/$APP_NAME" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1638:                    eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1639-                    /sbin/chkconfig "$APP_NAME" off
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1645-                else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1646:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1647-                    exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1651-                if grep -q ${APP_NAME}router /etc/rc.d/rc.local > /dev/null 2>&1 ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1652:                    eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1653-                    sed -i "/i2prouter/d" /etc/rc.d/rc.local /etc/rc.d/rc.local_shutdown
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1654-                else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1655:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1656-                    exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1660-                if [ -f "/etc/rc.d/$APP_NAME" -o -f "$SYSTEMD_SERVICE" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1661:                    eval echo "`gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1662-                    rm -f "/etc/rc.d/$APP_NAME"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1664-                else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1665:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1666-                    exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1670-                if [ -f "/etc/init.d/$APP_NAME" -o ${SYSTEMD_SERVICE} ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1671:                    eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1672-                    insserv -r "/etc/init.d/$APP_NAME"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1675-                else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1676:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1677-                    exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1688-                else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1689:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1690-                    exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1694-                if [ -f "/etc/init.d/$APP_NAME" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1695:                    eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1696-                    for i in "/etc/rc3.d/K20$APP_NAME_LOWER" "/etc/rc5.d/K20$APP_NAME_LOWER" "/etc/rc3.d/S20$APP_NAME_LOWER" "/etc/init.d/$APP_NAME" "/etc/rc5.d/S20$APP_NAME_LOWER"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1700-                else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1701:                    eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1702-                    exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1707-            if [ -f "/sbin/init.d/$APP_NAME" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1708:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1709-                for i in "/sbin/rc3.d/K20$APP_NAME_LOWER" "/sbin/rc3.d/S20$APP_NAME_LOWER" "/sbin/init.d/$APP_NAME"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1713-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1714:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1715-                exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1718-            echo 'Detected AIX:'
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1719:            if [ -f "/etc/rc.d/init.d/$APP_NAME" -o -n "`/usr/sbin/lsitab $APP_NAME`" -o -n "`/usr/bin/lssrc -S -s $APP_NAME`" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1720:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1721-                if [ -f "/etc/rc.d/init.d/$APP_NAME" ] ; then
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1726-                fi
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1727:                if [ -n "`/usr/sbin/lsitab $APP_NAME`" -o -n "`/usr/bin/lssrc -S -s $APP_NAME`" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1728-                    /usr/sbin/rmitab $APP_NAME
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1731-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1732:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1733-                exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1737-            if [ -f "/etc/rc.d/$APP_NAME" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1738:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1739-                for i in "/etc/rc.d/$APP_NAME"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1744-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1745:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1746-                exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1750-            if [ -f "/Library/LaunchDaemons/${APP_PLIST}" ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1751:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1752-                # Make sure the plist is installed
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1753:                LOADED_PLIST=`launchctl list | grep ${APP_PLIST_BASE}`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1754-                if [ "X${LOADED_PLIST}" != "X" ] ; then
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1758-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1759:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1760-                exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1764-            if [ -f /etc/rc.bak ] ; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1765:                eval echo " `gettext 'Removing $APP_LONG_NAME daemon'`..."
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1766-                cp /etc/rc /etc/rc.bak
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1769-            else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1770:                eval echo " `gettext 'The $APP_LONG_NAME daemon is not currently installed.'`"
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1771-                exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1773-        else
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1774:            eval echo `gettext 'Remove not currently supported for $DIST_OS'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1775-            exit 1
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1784-    then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1785:        eval echo `gettext '$APP_LONG_NAME was not running.'`
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1786-    else
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1887-checkifstartingasroot() {
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1888:    if [ ! `grep ^RUN_AS_USER $0` ] && [ ! `grep ^ALLOW_ROOT $0` ] && [ `id -ur` = '0' ]; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1889-        echo "`gettext 'Running I2P as the root user is *not* recommended.'`"
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1985-            installdaemon
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter:1986:            if [ ! `grep ^RUN_AS_USER $0` ]; then
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/i2prouter-1987-                 echo
##############################################
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/runplain.sh-34-
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/runplain.sh:35:for jar in `ls ${I2P}/lib/*.jar`; do
i2p-0.9.47/.pc/0001-path-substitution.patch/installer/resources/runplain.sh-36-    if [ ! -z $CP ]; then