init from svn

This commit is contained in:
zhangsz
2025-06-26 10:41:21 +08:00
parent 18339fa05c
commit 0f8e406da4
27 changed files with 3425 additions and 0 deletions

15
scripts/postinst Executable file
View File

@@ -0,0 +1,15 @@
#! /bin/bash
service_name=ac
test ! -f /usr/local/etc/ac/ac.yaml && cp -f /usr/local/etc/ac/default/ac.yaml /usr/local/etc/ac
if test -x /sbin/ldconfig
then
/sbin/ldconfig
else
echo Cannot run /sbin/ldconfig
fi
systemctl enable $service_name