init from svn

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

No files matched your search

+15
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