changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: bootrc: remount devip after /dev/hostowner has been written by factotum

changeset 7393: 6033964e95d2
parent 7392: 52b0fd4ff543
child 7394: ecaa7c8abd9c
author: cinap_lenrek@felloff.net
date: Sat, 21 Sep 2019 18:11:52 +0200
files: sys/src/9/boot/bootrc
description: bootrc: remount devip after /dev/hostowner has been written by factotum

devip remembers the attach uname so after we set hostowner we
remount devip so future connections have the right owner.
     1.1--- a/sys/src/9/boot/bootrc
     1.2+++ b/sys/src/9/boot/bootrc
     1.3@@ -94,6 +94,10 @@ fn main{
     1.4 		if(! ~ $#debugfactotum 0)
     1.5 			x=($x -p)
     1.6 		must $x
     1.7+
     1.8+		# remount ip inteface after hostowner is set
     1.9+		unmount '#I' /net >[2]/dev/null
    1.10+		bind -qa '#I' /net
    1.11 	}
    1.12 
    1.13 	# config method