X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=sys%2Fsrc%2F9%2Fboot%2Fbootrc;h=c0823e6f4dcfcb5ce9ccdc3231ccb4802329aea7;hb=df04ea8d6c2e1e75307a77f2b086a836f480ab72;hp=e7356dd5b28ed026795ba196c331fca46de06340;hpb=b56909157f0cd2491cd2918f7923676f22b5707c;p=plan9front.git diff --git a/sys/src/9/boot/bootrc b/sys/src/9/boot/bootrc index e7356dd5b..c0823e6f4 100755 --- a/sys/src/9/boot/bootrc +++ b/sys/src/9/boot/bootrc @@ -8,6 +8,7 @@ mntgen -s mntexport /mnt/exportfs && chmod 666 /srv/mntexport bind /root /mnt/broot unmount /root +bind -q '#σ' /shr bind -q '#d' /fd bind -q '#p' /proc for(i in ¶ P S f æ t b m) @@ -17,7 +18,7 @@ for(i in ¶ P S f æ t b m) for(i in I l^(0 1 2 3)) bind -qa '#'$i /net -# usualy better than 1970 +# usually better than 1970 cat '#r/rtc' >/dev/time >[2]/dev/null # reparse variables @@ -170,6 +171,13 @@ if(test -x /bin/aux/kbdfs){ if(! ~ $#a 0) a=/dev/eia^$a aux/kbdfs -q -s cons $a + + if(! ~$#kbmap 0){ + if(test -f /sys/lib/kbmap/$kbmap){ + echo 'setting kbmap to' $kbmap + cat /sys/lib/kbmap/$kbmap >/dev/kbmap + } + } } # usb devices