diff options
| author | Miguel <m.i@gmx.at> | 2018-09-12 02:10:11 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-12 02:10:11 +0200 |
| commit | a3ee159ebfd2d088432e386e8809840784f697e7 (patch) | |
| tree | 9ecfc506bb65ec982aae47f161afa1777359d3f7 /userspace/init.c | |
| parent | c9351caacd49c8442cc586f9e53a2dcc49a004aa (diff) | |
working on smp scheduler
Diffstat (limited to 'userspace/init.c')
| -rw-r--r-- | userspace/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/userspace/init.c b/userspace/init.c index a82a597..163c9fd 100644 --- a/userspace/init.c +++ b/userspace/init.c @@ -4,6 +4,7 @@ int main(int argc, char **argv) { + char *argv1[]={"/bin/foolshell",0}; char *env1[]={"PS1=\033[34m$\033[37m","PWD=/home/miguel","PATH=/bin","TERM=fool-term",0}; @@ -13,6 +14,7 @@ int main(int argc, char **argv) printf("fool-init: spawning a Fool's Shell\n"); + while(1); // loop forever and spawn shells if the top-shell exits while(1) { |
