~tardypad/alpine-system

ref: 77e5b93f2a050bef48eec6df2587e44e1c6dc92c alpine-system/builds/system-config/system-config.post-install -rw-r--r-- 433 bytes
77e5b93fDamien Tardy-Panis system-config: add nftables with basic firewall rules 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

list_manual_updates() {
  cat <<- EOF >&2
	* You need to update:
	* - private key of WireGuard interface
	EOF
}

# fix collection permissions after backup upload
# make sure the folder exists beforehand
mkdir -p /home/damien/radicale
chown -R radicale:radicale /home/damien/radicale

rc-update add radicale default
rc-service radicale restart

rc-update add nftables default
rc-service nftables start

list_manual_updates