/usr/sbin/interchange is in interchange 5.7.7-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #! /bin/sh -e
# source configuration file with defaults
if [ -f /etc/default/interchange ]; then
. /etc/default/interchange
fi
. /etc/interchange/init.cfg
OPTS="SocketFile=/var/run/interchange/interchange.sock IPCsocket=/var/run/interchange/interchange.sock.ipc PIDfile=/var/run/interchange/interchange.pid --pidfile=/var/run/interchange/interchange.pid --log=/var/log/interchange/error.log --rundir=/var/run/interchange"
CMD="env MINIVEND_STORABLE=$USE_STORABLE MINIVEND_FORCE_THREADS=1 /usr/lib/interchange/bin/interchange $OPTS $@"
if [ "`/usr/bin/id -ru`" -eq 0 ]; then
su -s /bin/sh -c "$CMD" $USER
else
$CMD
fi
|