Moin,
wenn ich das Script i2pdaemon starte bekomme ich eine Fehlermeldung
/etc/rc.status: line 38: test: -eq: unary operator expected
/etc/rc.status: line 39: test: -eq: unary operator expected
http://planetpeer.de/wiki/index.php/Das_deutsche_I2P-Handbuch#Installation_unter_Linux
Kann jemand helfen?
Distri = SuSE 9.3
wenn ich das Script i2pdaemon starte bekomme ich eine Fehlermeldung
/etc/rc.status: line 38: test: -eq: unary operator expected
/etc/rc.status: line 39: test: -eq: unary operator expected
Code:
#!/bin/sh
# $Id: init, v 1.3 2004/02/16 01:33:33 sal Exp $
#
# Script to start I2P with the i2pdaemon account
#
set -e
. /lib/lsb/init-functions
I2PDIR=/home/i2pdaemon/i2p
I2PROUTERSCRIPT=$I2PDIR/i2prouter
case "$1" in
start)
sudo -u i2pdaemon sh $I2PROUTERSCRIPT start
;;
restart|reload|force-reload)
sudo -u i2pdaemon sh $I2PROUTERSCRIPT stop
sudo -u i2pdaemon sh $I2PROUTERSCRIPT start
;;
stop)
sudo -u i2pdaemon sh $I2PROUTERSCRIPT stop
;;
esac
exit 0
http://planetpeer.de/wiki/index.php/Das_deutsche_I2P-Handbuch#Installation_unter_Linux
Kann jemand helfen?
Distri = SuSE 9.3