From 221fca7ddd2ba1778ec89013c96434a9d36b529e Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Wed, 3 Jun 2015 13:05:28 -0700 Subject: tzdatacheck: don't hard code SELinux domain name An automatic domain transition is already defined by SELinux policy. Avoid having redundant information on the exec line. This commit depends on commit 17fff893c04971b519d25d52b07f51111353cba5 which made the SELinux process label optional. Change-Id: I89464f2bd218c7d6e8db08aa6bed2b62ec6dad2a --- rootdir/init.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rootdir') diff --git a/rootdir/init.rc b/rootdir/init.rc index 1f421c5b7..b5b74eafa 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -321,7 +321,7 @@ on post-fs-data restorecon_recursive /data # Check any timezone data in /data is newer than the copy in /system, delete if not. - exec u:r:tzdatacheck:s0 system system -- /system/bin/tzdatacheck /system/usr/share/zoneinfo /data/misc/zoneinfo + exec - system system -- /system/bin/tzdatacheck /system/usr/share/zoneinfo /data/misc/zoneinfo # If there is no fs-post-data action in the init..rc file, you # must uncomment this line, otherwise encrypted filesystems -- cgit v1.2.3