From 28982a85dfe93dbe6f415240a08fcbc6185de8dd Mon Sep 17 00:00:00 2001 From: Tianshi Liu Date: Fri, 8 Apr 2022 17:57:06 +0800 Subject: [PATCH] remove unused rc init file Signed-off-by: Tianshi Liu Change-Id: Ia5571feedb8abda65db65b58962e4666bb5548d0 --- sa_profile/BUILD.gn | 6 +----- sa_profile/faceauth_sa_profile.rc | 22 ---------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 sa_profile/faceauth_sa_profile.rc diff --git a/sa_profile/BUILD.gn b/sa_profile/BUILD.gn index 9c1c307..d4ed3c2 100644 --- a/sa_profile/BUILD.gn +++ b/sa_profile/BUILD.gn @@ -20,11 +20,7 @@ ohos_sa_profile("faceauth_sa_profile") { } ohos_prebuilt_etc("faceauth_sa_profile.init") { - if (use_musl) { - source = "faceauth_sa_profile.cfg" - } else { - source = "faceauth_sa_profile.rc" - } + source = "faceauth_sa_profile.cfg" relative_install_dir = "init" subsystem_name = "useriam" part_name = "face_auth" diff --git a/sa_profile/faceauth_sa_profile.rc b/sa_profile/faceauth_sa_profile.rc deleted file mode 100644 index 82fd143..0000000 --- a/sa_profile/faceauth_sa_profile.rc +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -on late-fs - start faceauth - -service faceauth /system/bin/sa_main /system/profile/faceauth.xml - class faceauth - priority -20 - user system - group system - seclabel u:r:faceauth:s0