#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

case "$1" in
  start)
    stat_busy "Updating logo"
        #/etc/issue : inittab
        linux_logo > /etc/issue
        echo '' >> /etc/issue
        echo 'Arch Linux \r  (\n) (\l)' >> /etc/issue
        echo '' >> /etc/issue
        
        #/etc/issue.net : sshd
        echo "Arch Linux $(uname -r)  ($(uname -n))" > /etc/issue.net
        echo '' >> /etc/issue.net
    stat_done
    ;;
  stop)
    stat_busy "Do nothing about linux logo"
      stat_done
    ;;
  restart)
    $0 start
    ;;
  *)
    echo "usage: $0 {start|stop|restart}"  
esac
exit 0
