summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-09-21 18:11:52 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-09-21 18:11:52 +0200
commit5b7d8e1f6fb4167e354545fef7e6dd6676986441 (patch)
tree6d3ed72260945049efa40b93887aea7b8d941b62
parent12fa017f3fc2687d3afb166fd30d9b134abb1da5 (diff)
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.
-rwxr-xr-xsys/src/9/boot/bootrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/src/9/boot/bootrc b/sys/src/9/boot/bootrc
index 36a71e38d..696fc08ab 100755
--- a/sys/src/9/boot/bootrc
+++ b/sys/src/9/boot/bootrc
@@ -94,6 +94,10 @@ fn main{
if(! ~ $#debugfactotum 0)
x=($x -p)
must $x
+
+ # remount ip inteface after hostowner is set
+ unmount '#I' /net >[2]/dev/null
+ bind -qa '#I' /net
}
# config method