Hi Guys, these two scripts will mirror the cobalt-ftp-patches-directory and then they'll install all patches sorted by the date. the oldest goes first. It's not that efficient since all patches will be installed - or at lest it will try to install them - even though most of them are already installed. anyway... it is a dirty hack BUT it works.
1. Make the download-directory: mkdir /COBALT-UPDATES then run this script: #Auto-Download by GS #[EMAIL PROTECTED] #v0.1 alpha :-) #dirty hack # # you should use mirror.. it works much much better. # DOWNLOAD everything in /COBALT-UPDATES cd /COBALT-UPDATES wget ftp://ftp.cobalt.sun.com/pub/packages/raq3/eng/* # done #Auto-Updater by GS #[EMAIL PROTECTED] #v0.1 alpha :-) #dirty hack # # list all files in /COBALT-UPDATES sorted by the date of the file. # first goes the oldest... cd /COBALT-UPDATES for FILE in $(cd /COBALT-UPDATES; ls -t -r -1); do echo "EXECUTING: cobalt_upgrade $PKGFILE..." /usr/local/sbin/cobalt_upgrade $FILE done Thanks and bye, Gunther _______________________________________________ cobalt-security mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-security
