mirror of
https://github.com/openharmony/useriam_faceauth.git
synced 2026-07-18 16:24:42 -04:00
!107 .rc 启动文件已被 .cfg 替换,删除
Merge pull request !107 from Tianshi Liu/master
This commit is contained in:
+1
-5
@@ -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"
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user