feat: build input features
This commit is contained in:
13
pkg/scp/DEBIAN/postinst
Executable file
13
pkg/scp/DEBIAN/postinst
Executable 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
|
||||
Reference in New Issue
Block a user