From 0542a6c3987990b5baf6bf45f4d49074997671e9 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 1 Apr 2020 13:38:21 +0300 Subject: sysmgr: add boot, shutdown scripts. add post-install message --- core/sysmgr/files/sysmgr.boot | 1 + core/sysmgr/files/sysmgr.pre.shutdown | 1 + 2 files changed, 2 insertions(+) create mode 100644 core/sysmgr/files/sysmgr.boot create mode 100644 core/sysmgr/files/sysmgr.pre.shutdown (limited to 'core/sysmgr/files') diff --git a/core/sysmgr/files/sysmgr.boot b/core/sysmgr/files/sysmgr.boot new file mode 100644 index 00000000..39ba1729 --- /dev/null +++ b/core/sysmgr/files/sysmgr.boot @@ -0,0 +1 @@ +# while :; do /usr/bin/sysmgr ; done & diff --git a/core/sysmgr/files/sysmgr.pre.shutdown b/core/sysmgr/files/sysmgr.pre.shutdown new file mode 100644 index 00000000..01ce6b4b --- /dev/null +++ b/core/sysmgr/files/sysmgr.pre.shutdown @@ -0,0 +1 @@ +# for service in /var/sysmgr/* ; do [ -r "$service" ] && { svctl stop "${service##*/}" ; svctl kill "${service##*/}" ;} ; done -- cgit v1.2.3