remove unused rc init file

Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com>
Change-Id: Ia5571feedb8abda65db65b58962e4666bb5548d0
This commit is contained in:
Tianshi Liu
2022-04-08 17:57:06 +08:00
parent 9e75f5d13c
commit 28982a85df
2 changed files with 1 additions and 27 deletions
+1 -5
View File
@@ -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"
-22
View File
@@ -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