diff --git a/installer/resources/i2prouter b/installer/resources/i2prouter index 8064046652..3603b93f8b 100644 --- a/installer/resources/i2prouter +++ b/installer/resources/i2prouter @@ -306,11 +306,7 @@ ANCHORFILE="$PIDDIR/$APP_NAME.anchor" COMMANDFILE="$PIDDIR/$APP_NAME.command" STATUSFILE="$PIDDIR/$APP_NAME.status" JAVASTATUSFILE="$PIDDIR/$APP_NAME.java.status" -if [ $(which awk) ]; then - PIDFILE="$(awk -F'=' '/^ *wrapper\.pidfile/{print $2}' "$WRAPPER_CONF")" -else - PIDFILE="$PIDDIR/$APP_NAME.pid" -fi +PIDFILE="$PIDDIR/$APP_NAME.pid" LOCKDIR="/var/lock/subsys" LOCKFILE="$LOCKDIR/$APP_NAME" pid=""