ref: ee9dadb57f8f07fa22c389cdb953fc7fe3f44be8
parent: e6597a12615097e190c5523757b34dcce135fd75
author: sl <sl@x1yg3>
date: Sun Jul 6 18:53:54 EDT 2025
add nk
--- a/INDEX
+++ b/INDEX
@@ -41,6 +41,7 @@
nauth - rcpu to or rimport from auth.inri.net
netproc - "netstat -p"
nipmux - Drop packets for IP addresses of aggressive crawlers.
+nk - Install new kernel for Intel/AMD machines.
nn - run webcookies/webfs, populate factotum from secstore, perform some binds, run plumber.
osuny - rcpu to or rimport from osuny.bell-labs.co
r - setup environment and run rio.
--- /dev/null
+++ b/nk
@@ -1,0 +1,13 @@
+#!/bin/rc
+# Install new kernel for Intel/AMD machines.
+rfork n
+bind -b '#S' /dev
+9fs 9fat $1
+cp /n/9fat/9pc /n/9fat/o9pc
+cp /n/9fat/9pc64 /n/9fat/o9pc64
+cp /n/9fat/9bootfat /n/9fat/o9bootfat
+rm /n/9fat/9bootfat
+cp /386/9pc /n/9fat/
+cp /amd64/9pc64 /n/9fat/
+cp /386/9bootfat /n/9fat/
+chmod +al /n/9fat/9bootfat
--
⑨