diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-09-21 18:11:52 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-09-21 18:11:52 +0200 |
commit | 5b7d8e1f6fb4167e354545fef7e6dd6676986441 (patch) | |
tree | 6d3ed72260945049efa40b93887aea7b8d941b62 /sys/src/9/boot | |
parent | 12fa017f3fc2687d3afb166fd30d9b134abb1da5 (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.
Diffstat (limited to 'sys/src/9/boot')
-rwxr-xr-x | sys/src/9/boot/bootrc | 4 |
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 |