diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-12-04 00:21:20 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-12-04 00:21:20 +0100 |
| commit | 427613498108fda93f7cbfcb3a9417da50a23958 (patch) | |
| tree | e6bbe4f4cf597b2d96d9adf99e254fe263ddd5df /kernel/task.c | |
| parent | b5d9da88991592d35d39dcae3829d2498b4e47e4 (diff) | |
finally hacked env and argv!
Diffstat (limited to 'kernel/task.c')
| -rw-r--r-- | kernel/task.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/task.c b/kernel/task.c index 586340b..866dcc2 100644 --- a/kernel/task.c +++ b/kernel/task.c @@ -154,10 +154,7 @@ void task_init(pdirectory *dir) task_list[0].vmem=dir; task_list[0].esp = 0; // will be set by next task_switch_next() call. current_task=0; - - static char *argv[]={"/bin/foolshell",NULL}; - static char *env[]={"PATH=/bin","PWD=/home/miguel","PS1=$ ",NULL}; - syscall_execve("/bin/init",argv,env); + syscall_execve("/bin/init",NULL,NULL); } |
