This is a good step, but how do I get the contents of /etc/issue on the gui ??
Patrick Derwael Rue Hubert Larock, 20 4280 Hannut - Belgique G: +32 (0)479.80.50.79 T : +32 (0)19.63.64.45
try a bash script like the following :
#!/bin/sh ADRESS=`ifconfig | grep "inet addr" | awk '{print $2}' | sed s/addr:// | head -n 1` echo "The IP adress is : $ADRESS." > /etc/issue