Usermode/CLIShell - Added SBin to path
authorJohn Hodge <[email protected]>
Mon, 16 Sep 2013 05:46:23 +0000 (13:46 +0800)
committerJohn Hodge <[email protected]>
Mon, 16 Sep 2013 05:46:23 +0000 (13:46 +0800)
Usermode/Applications/CLIShell_src/main.c

index 1a501ad..8088a21 100644 (file)
@@ -32,11 +32,11 @@ struct      {
        {"help", Command_Help}, {"clear", Command_Clear},\r
        {"cd", Command_Cd}, {"dir", Command_Dir}\r
 };\r
-static char    *cDEFAULT_PATH[] = {"/Acess/Bin"};\r
+static char    *cDEFAULT_PATH[] = {"/Acess/Bin","/Acess/SBin"};\r
 #define        BUILTIN_COUNT   (sizeof(cBUILTINS)/sizeof(cBUILTINS[0]))\r
 \r
 // ==== LOCAL VARIABLES ====\r
- int   giNumPathDirs = 1;\r
+ int   giNumPathDirs = 2;\r
 char   **gasPathDirs = cDEFAULT_PATH;\r
 char   **gasEnvironment;\r
 char   gsCommandBuffer[1024];\r

UCC git Repository :: git.ucc.asn.au