#!/bin/bash /sbin/ip addr | grep inet | tail -n1 | awk '{ print $2 }' > /etc/issue echo "" >> /etc/issue exit 0