This commit is contained in:
sushen339
2025-11-18 12:54:21 +08:00
parent 57ecd5ab17
commit 43fc123cb4
25 changed files with 2978 additions and 2 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef INSTALL_H
#define INSTALL_H
#include "common.h"
/* 安装服务 */
int install_service(void);
/* 卸载服务 */
int uninstall_service(void);
/* 配置PAM钩子 */
int setup_pam_hooks(void);
/* 移除PAM钩子 */
int remove_pam_hooks(void);
/* 创建systemd服务 */
int create_systemd_service(void);
#endif /* INSTALL_H */