/[sysadmin-cookbook]/recepies/dell/make-mirror.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /recepies/dell/make-mirror.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 132 - (hide annotations)
Thu Aug 20 13:34:28 2009 UTC (14 years, 8 months ago) by dpavlin
File MIME type: application/x-sh
File size: 324 byte(s)
abort if getSystemID doesn't return valid id
1 dpavlin 129 #!/bin/sh -x
2    
3     system_id=`getSystemId | grep 'System ID:' | cut -d: -f2 | sed 's/ //g'`
4 dpavlin 132
5     test -z "$system_id" && exit
6    
7 dpavlin 129 url=http://linux.dell.com/repo/firmware/bios-hdrs/
8    
9     wget -q -O - $url | grep system_bios_ven_0x1028_dev_$system_id | sed -e 's/^.*href="//' -e 's/".*$//' -e "s|^|$url|" -e "s|$|bios.hdr|" | xargs wget -m
10    

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26