Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

Commit 97e3ee9

Browse files
authored
Persistent Customization Folders
Excluded custom-cont-init.d & custom-services.d Folders from getting removed so scripts inside there are persistent
1 parent 3f63497 commit 97e3ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/etc/cont-init.d/30-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if [ -f /version.txt ]; then
4040
echo "backing up as.conf"
4141
cp /config/etc/as.conf /config/backup/as.conf
4242
cd /config || exit
43-
rm -rf !("backup"|"log")
43+
rm -rf !("backup"|"log"|"custom-cont-init.d"|"custom-services.d")
4444
apt-get update && \
4545
apt-get install -y \
4646
openvpn-as=$OPENVPNAS_VERSION

0 commit comments

Comments
 (0)