mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 02:15:13 +08:00
🍉 Sync 2026-09-25 18:00:12
This commit is contained in:
1 parent
7c17dda4d0
commit
2ee65a261e
135 files changed
+5726
-7799
No files matched your search
@@ -1,15 +1,7 @@
|
||||
# shellcheck shell=sh
|
||||
#
|
||||
# gitbackup: create the secrets directory once, at first boot after install.
|
||||
#
|
||||
# Not done in postinst -- postinst runs while an image is being built, where
|
||||
# there may be neither entropy nor a real, writable /etc yet, and the spec is
|
||||
# explicit that installing the package must not run a backup or generate keys.
|
||||
#
|
||||
# /etc/init.d/boot runs every /etc/uci-defaults/* script as
|
||||
# `( . "./$(basename $file)" )` and deletes it afterwards only if that exited
|
||||
# 0, so this file has no shebang and is not executable -- same convention as
|
||||
# base-files' own uci-defaults scripts (verified in the local checkout).
|
||||
# First boot, not postinst (postinst also runs at image build time).
|
||||
# Sourced by /etc/init.d/boot and deleted on exit 0: no shebang needed.
|
||||
|
||||
[ -d /etc/gitbackup ] || mkdir -m 0700 /etc/gitbackup
|
||||
chown root:root /etc/gitbackup
|
||||
|
||||
Reference in new issue
Block a user