Wed, 10 Oct 2007, by [EMAIL PROTECTED]: > Hello, > > I was wondering if there is a way to configure my systems to notify me > that there is new software available to install when i log in. Problem > is I don't use a gui (kde, gnome, etc), I just have the command line > available to me is there a daemon or something available for people > who don't use a gui like me?
USER=root zypper ref 2>&1 >/dev/null wait TOPATCH=$(zypper pchk |tail -1) wait PATCHES=$(echo $TOPATCH|cut -d' ' -f1) case $PATCHES in "0") /bin/mail -s "No worries, mate!" $USER </dev/null ;; *) /bin/mail -s "$TOPATCH" $USER </dev/null ;; esac Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.2 + Jabber: [EMAIL PROTECTED] Kernel 2.6.20 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]