Files
op-packages/gitbackup/files/etc/uci-defaults/99-gitbackup
T

11 lines
285 B
Plaintext

# shellcheck shell=sh
#
# 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
chmod 0700 /etc/gitbackup
exit 0