summaryrefslogtreecommitdiffstats
path: root/init/parser.c
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-08-26 16:39:25 -0700
committerSan Mehat <san@google.com>2009-08-26 16:39:59 -0700
commit7c44fe5925b6dd51166f73d30de0a2f22d66373e (patch)
tree6f9e8e3fc3ee500e4e1122ed395e77d19206c017 /init/parser.c
parenta3e8a6ad56d60d2ad6c580004f86920d73acc62c (diff)
downloadsystem_core-7c44fe5925b6dd51166f73d30de0a2f22d66373e.tar.gz
system_core-7c44fe5925b6dd51166f73d30de0a2f22d66373e.tar.bz2
system_core-7c44fe5925b6dd51166f73d30de0a2f22d66373e.zip
init: builtins: Add 'copy' command to init.rc parser
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'init/parser.c')
-rw-r--r--init/parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/parser.c b/init/parser.c
index 33c1a6813..affc80c9a 100644
--- a/init/parser.c
+++ b/init/parser.c
@@ -127,6 +127,7 @@ int lookup_keyword(const char *s)
{
switch (*s++) {
case 'c':
+ if (!strcmp(s, "opy")) return K_copy;
if (!strcmp(s, "apability")) return K_capability;
if (!strcmp(s, "lass")) return K_class;
if (!strcmp(s, "lass_start")) return K_class_start;