#!/bin/bash
sleep 30
/sbin/mingetty tty1
for i in 0 1 2 3 4 5 6 7 8 9;do
 CON=$(ifconfig|grep inet|grep -v 127)
 if [ ! x"$CON" = x ];then
   #/etc/rc.d/rc.slapt-update-notifier start
   slapt-update-notifier-d
   /usr/bin/slapt-update-notifier 2>/dev/null
   exit 0
 fi
 sleep 100
done
