Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka committed 2008-05-05 16:00:28 -03:00
1 parent 136dfeb41a
commit b6bf00ed06
1 file changed
+3
+3
View File
@@ -174,6 +174,7 @@ int main()
strcpy(cmd, "/sbin/e2fsck -C -p "); strcpy(cmd, "/sbin/e2fsck -C -p ");
c = cmd + strlen(cmd); c = cmd + strlen(cmd);
while (x && *x && *x != ' ') *c++ = *x++; while (x && *x && *x != ' ') *c++ = *x++;
*c = 0;
system(cmd); system(cmd);
continue; continue;
} }
@@ -181,6 +182,7 @@ int main()
x += 5; x += 5;
c = username; c = username;
while (x && *x && *x != ' ') *c++ = *x++; while (x && *x && *x != ' ') *c++ = *x++;
*c = 0;
continue; continue;
} }
if ((x = strstr(line, "module ")) == line) { if ((x = strstr(line, "module ")) == line) {
@@ -188,6 +190,7 @@ int main()
strcpy(cmd, "/sbin/modprobe "); strcpy(cmd, "/sbin/modprobe ");
c = cmd + strlen(cmd); c = cmd + strlen(cmd);
while (x && *x && *x != ' ') *c++ = *x++; while (x && *x && *x != ' ') *c++ = *x++;
*c = 0;
system(cmd); system(cmd);
continue; continue;
} }