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