diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-11-12 23:42:26 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-11-12 23:42:26 +0100 |
| commit | 068c2bc175861d8d35194e6f5b224b183a1fbc55 (patch) | |
| tree | 9d097e56770b67956ebe55c517be64e55d53a0e8 /zot/doinst.sh | |
| parent | 2e0a185719106d3fdee3eebb72ea5264b28403a2 (diff) | |
| download | slackbuilds-068c2bc175861d8d35194e6f5b224b183a1fbc55.tar.gz | |
zot: Added rc file
Diffstat (limited to 'zot/doinst.sh')
| -rw-r--r-- | zot/doinst.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zot/doinst.sh b/zot/doinst.sh index dfef45f..623c2ea 100644 --- a/zot/doinst.sh +++ b/zot/doinst.sh @@ -15,3 +15,11 @@ config() { } config etc/zot/config.yaml.new + +# Keep same perms on rc.zot.new: +if [ -e etc/rc.d/rc.zot ]; then + cp -a etc/rc.d/rc.zot etc/rc.d/rc.zot.new.incoming + cat etc/rc.d/rc.zot.new > etc/rc.d/rc.zot.new.incoming + mv etc/rc.d/rc.zot.new.incoming etc/rc.d/rc.zot.new +fi +config etc/rc.d/rc.zot.new |
