#!/bin/bash
. /etc/profile

echo "mastro-IT Serversystem

Hostname: \n.\o

IP-Adresse(n):"> /etc/issue

I=$(ip -4 -br addr) 
echo -e "$I\n\n" >> /etc/issue

pkill -f -9 /sbin/agetty

#c=$(who -l  | awk '{print $4}')
#if [ "x$c" != "x" ]; then kill -9 $c ; fi
exit 0
