feat: build input features

This commit is contained in:
zhangsz
2025-03-05 11:13:37 +08:00
parent 7486287e84
commit 1e2b480395
129 changed files with 5044 additions and 0 deletions

10
pkg/scp/DEBIAN/control Executable file
View File

@@ -0,0 +1,10 @@
Package: scp
Version: 2409.6-YYYYMMDD
Section: net
Priority: optional
Architecture: amd64
Essential: no
Depends:
Conflicts: scp
Maintainer: 4GC
Description: 4GC SCP Software

13
pkg/scp/DEBIAN/postinst Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
test ! -f /usr/local/scp/bin/conf/wxc2_sys.conf && cp -rf /usr/local/scp/bin/conf/default/* /usr/local/scp/bin/conf
subDir="/usr/local/subsManage"
if [ ! -d "$subDir" ]; then
mkdir $subDir
chmod 777 $subDir
fi
systemctl enable scp
exit 0

6
pkg/scp/DEBIAN/prerm Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Commands to be run before uninstall of the package
systemctl disable scp