]> git.lizzy.rs Git - plan9front.git/blobdiff - lib/rfc/grabrfc
vgadb: move nvidia controller entry after igfx and add haswell dids
[plan9front.git] / lib / rfc / grabrfc
index 32611c32333236b6615b0203c2e889a8bba398f3..4e06df312ef05d30e9399f1a9ba94d434d30f9cd 100755 (executable)
@@ -3,7 +3,9 @@
 rfork en
 path=(/bin)
 fn cd
+
 dom=`{ndb/query sys $sysname dom}
+if(~ $dom '') dom=$sysname
 
 ramfs
 ftpfs -q/ -a $user@$dom ftp.rfc-editor.org     # was ftp.isi.edu
@@ -34,6 +36,7 @@ ftpfs -q/ -a $user@$dom ftp.ietf.org
 # copy in new ones
 found=no
 LIB=/lib/rfc/drafts
+mkdir -p $LIB
 cd /n/ftp/internet-drafts
 for(i in *){
        target=$i