Skip to content

Commit

Permalink
Dump noisy bcast9p tool output to /sys/log, add cleanup to postsetup …
Browse files Browse the repository at this point in the history
…script, remove install script cludge
  • Loading branch information
sirnewton01 committed Nov 14, 2016
1 parent 507b6db commit 107241f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom/termrc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if(test -r /net/etherU0){
ip/ipconfig ether /net/etherU0 '169.254.'^$LINKLOCAL 255.255.0.0
aux/listen1 -t tcp!*!564 /bin/exportfs -r / &
aux/listen1 -t tcp!*!17010 /bin/cpu -n -R &
bcast9p &
bcast9p >/sys/log/bcast9p >[2=1] &
}
# automatic ip address setup
Expand Down
7 changes: 4 additions & 3 deletions postsetup.rc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
echo scroll >>/dev/wctl # Set auto-scroll for unattended compile
echo allow >>/srv/hjfs.cmd # allow changing ownership of files

echo '#!/bin/rc' > /usr/glenda/bin/rc/install # Work-around for weird go bootstrap bug on plan9
chmod a+x /usr/glenda/bin/rc/install

wd=`{ pwd }
cd /arm/bin
Expand Down Expand Up @@ -34,6 +31,10 @@ rm /n/dos/*
cp /arm/9pif /arm/9pif2 /n/dos
cp $wd/bootfiles/* /n/dos
# Clean up /sys/src
cd /sys/src
mk clean
cp $wd/custom/riostart /usr/glenda/bin/rc
chmod a+x /usr/glenda/bin/rc/riostart
cp $wd/custom/termrc /bin/termrc
Expand Down

0 comments on commit 107241f

Please sign in to comment.