I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 34e0b364 authored by kytv's avatar kytv
Browse files

updates to 'i2prouter' based on changes to Tanuki's example script

parent 2fbe0e8b
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
#
#-----------------------------------------------------------------------------
# These settings can be modified to fit the needs of your application
# Optimized for use with version 3.5.14 of the Wrapper.
# Optimized for use with version 3.5.16 of the Wrapper.
# Paths
# Note that (percent)INSTALL_PATH, (percent)USER_HOME, and (percent)SYSTEM_java_io_tmpdir
......@@ -452,6 +452,10 @@ else
DIST_ARCH="390"
DIST_BITS="64"
;;
'arm*')
DIST_ARCH="arm"
DIST_BITS="32"
;;
esac
fi
......@@ -643,6 +647,12 @@ checkUser() {
# Check the configured user. If necessary rerun this script as the desired user.
if [ "X$RUN_AS_USER" != "X" ]
then
if [ "`$IDEXE -u -n "$RUN_AS_USER" 2>/dev/null`" != "$RUN_AS_USER" ]
then
echo 'User $RUN_AS_USER does not exist.'
exit 1
fi
# Resolve the location of the 'id' command
IDEXE="/usr/xpg4/bin/id"
if [ ! -x "$IDEXE" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment