1
0
mirror of https://github.com/DoctorWkt/unix-jun72.git synced 2026-05-05 15:43:36 +00:00

- fix a bug in the sh.s code that was garbled in the printout.

- now installing sh.s as /bin/sh in the rf0 image.
This commit is contained in:
tim.newsham
2008-05-11 02:00:34 +00:00
parent a25247dea0
commit fca66172e8
3 changed files with 7 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
/ sh -- command interpreter
mov sp,r5
mov r5,shellarg / save orig sp in shellarg
cmpb 8(r5),$'- / was this sh calleZd by init or loginx~
cmpb *2(r5),$'- / was this sh calleZd by init or loginx~
bne 2f / no
sys intr; 0 / yes, turn off interrupts
sys quit; 0