|
@@ -7,14 +7,14 @@ action=$2
|
|
|
|
|
|
case ${action} in
|
|
|
*up)
|
|
|
- # I2P appears to be able to cope with changing IPs and interfaces.
|
|
|
- # However, laptop mode might be necessary for better anonymity.
|
|
|
+ # I2P isn't very good with changing IPs/interfaces jumping clock.
|
|
|
+ # Also, laptop mode might be necessary for better anonymity.
|
|
|
if ! /etc/init.d/i2p -q status; then
|
|
|
logger -p 6 -t nm.dispatch "Starting I2P service (${iface})"
|
|
|
/etc/init.d/i2p -q start
|
|
|
- # else
|
|
|
- # logger -p 6 -t nm.dispatch "Restarting I2P service (${iface})"
|
|
|
- # /etc/init.d/i2p -q restart
|
|
|
+ else
|
|
|
+ logger -p 6 -t nm.dispatch "Restarting I2P service (${iface})"
|
|
|
+ /etc/init.d/i2p -q restart
|
|
|
fi
|
|
|
;;
|
|
|
esac
|