shithub: rc

Download patch

ref: 89a498506e6d401f430c06ce9ced1b9d0bd49d57
parent: 2eb32908f55cdbf2c67cc31d0b0e9adbca1ca14c
author: sl <sl@x1yg3>
date: Wed Jun 25 20:12:29 EDT 2025

add nn

--- /dev/null
+++ b/nn
@@ -1,0 +1,22 @@
+#!/bin/rc -x
+# 2025-06-25T20:10:48-04:00
+fn gowebfs{
+	ramfs -m /n/webfs &&
+	webcookies -f /n/webfs/webcookies &&
+	webfs -s webfs.$user.$pid -T 100000 -d >>[2]/n/webfs/webfs.err
+}
+fn nntp{ nntpfs -a news.eternal-september.org }
+if(! test -f /mnt/factotum/ctl)
+	auth/factotum
+auth/secstore -s tcp!auth.inri.net!5356 -G factotum >/mnt/factotum/ctl
+if(~ $1 -v){
+	bind /net /n/net.orig &&
+	sshnet telstar.bell-labs.co ||
+	{ echo SORRY && exit }
+}
+gowebfs
+if(~ $sysname deckard)
+	bind / /n/fs
+bind / /n/$sysname
+plumber
+echo go!
--