Hi to all!

In order of Bugs number 1718 from BugZilla for SWUP:

https://bugs.trustix.org/show_bug.cgi?id=1718

here you can see my simple Fix for this big problem.

Pls edit "/etc/cron.daily/swup.cron" script with some my addons:

<------------
#!/bin/sh

if [ ! -x /usr/bin/swup ]; then
  echo "Could not find swup binary"
  exit 1
fi

KILLSWUP=`/usr/bin/killall -v swup 2>&1`

if [ `echo $KILLSWUP | awk '{print$1}'` = "Killed" ]; then
  echo "$KILLSWUP"
fi

SWUPARGS='--upgrade --quiet'

if [ -f /etc/swup/swup-cron.conf ]; then
  . /etc/swup/swup-cron.conf
fi

/usr/bin/swup $SWUPARGS
exit $?

------------>

Comments are alway appreciated :-)

Bye!
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to