221: }
222: } else if (ac == 2 && strcmp(av[1], "init") == 0) {
223: /* initialize current date from RTC */
404: if (entp == NULL) break;
405: if (strcmp(entp->d_name, ".") == 0 ||
406: strcmp(entp->d_name, "..") == 0) continue;
407:
806:
807: if (strcmp(av[0], "date") == 0) {
808: cmd_date(ac, av);
809: } else if (strcmp(av[0], "attach") == 0) {
810: cmd_attach(ac, av);
811: } else if (strcmp(av[0], "detach") == 0) {
812: cmd_detach(ac, av);
813: } else if (strcmp(av[0], "mkdir") == 0) {
814: cmd_mkdir(ac, av);
815: } else if (strcmp(av[0], "rmdir") == 0) {
816: cmd_rmdir(ac, av);
817: } else if (strcmp(av[0], "pwd") == 0) {
818: cmd_pwd(ac, av);
819: } else if (strcmp(av[0], "cd") == 0) {
820: cmd_cd(ac, av);
821: } else if (strcmp(av[0], "rm") == 0) {
822: cmd_rm(ac, av);
823: } else if (strcmp(av[0], "mv") == 0) {
824: cmd_mv(ac, av);
825: } else if (strcmp(av[0], "ls") == 0) {
826: cmd_ls(ac, av);
827: } else if (strcmp(av[0], "tp") == 0 || strcmp(av[0], "tpx") == 0) {
828: cmd_tp(ac, av);
829: } else if (strcmp(av[0], "cp") == 0) {
830: cmd_cp(ac, av);
831: } else if (strcmp(av[0], "trunc") == 0) {
832: cmd_trunc(ac, av);
833: } else if (strcmp(av[0], "df") == 0) {
834: cmd_df(ac, av);
835: } else if (strcmp(av[0], "sync") == 0) {
836: cmd_sync(ac, av);
837: } else if (strcmp(av[0], "chmod") == 0) {
838: cmd_chmod(ac, av);
839: } else if (strcmp(av[0], "ref") == 0) {
840: cmd_ref(ac, av);
841: } else if (strcmp(av[0], "load") == 0) {
842: cmd_load(ac, av);
843: } else if (strcmp(av[0], "loadspg") == 0) {
844: cmd_loadspg(ac, av);
845: } else if (strcmp(av[0], "unload") == 0) {
846: cmd_unload(ac, av);
847: } else if (strcmp(av[0], "call") == 0) {
848: cmd_call(ac, av);
874:
875: } else if (strcmp(av[0], "net") == 0) {
876: IMPORT void net_test(void);