Initial commit: Import from /home/simon/test/ac

This commit is contained in:
zhangsz committed 2025-11-05 13:16:01 +08:00
commit b1dc1e18e7
28 files changed
+3471

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