From 752923c168009d03e9e00e590155fbd0a2880ccb Mon Sep 17 00:00:00 2001 From: Ken Sumrall Date: Fri, 3 Dec 2010 16:33:31 -0800 Subject: Changes to init to support encrypted filesystems. These are the changes to init and init.rc necessary to support booting with and encrypted /data filesystem. A corresponding change to init..rc goes along with this change. Change-Id: I0c7e2cc39568358014a82e317735c0eae14dd683 --- init/signal_handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init/signal_handler.c') diff --git a/init/signal_handler.c b/init/signal_handler.c index 3e5d136..833e59d 100644 --- a/init/signal_handler.c +++ b/init/signal_handler.c @@ -83,8 +83,8 @@ static int wait_for_one_process(int block) svc->flags |= SVC_DISABLED; } - /* disabled processes do not get restarted automatically */ - if (svc->flags & SVC_DISABLED) { + /* disabled and reset processes do not get restarted automatically */ + if (svc->flags & (SVC_DISABLED | SVC_RESET) ) { notify_service_state(svc->name, "stopped"); return 0; } -- cgit v1.1