Skip to content

Commit

Permalink
Update init-settings.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
o2asdv authored Dec 22, 2022
1 parent fc4e52e commit 0c15967
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions init-settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ config interface 'vpn0'
option proto 'none'
EOF

# Set backup dirs
cat <<'EOF'> /etc/sysupgrade.conf
## This file contains files and directories that should be preserved during an upgrade.
/data/
/etc/openvpn/
EOF

# Add "/etc/rc.local" script
cat <<'EOF'> /etc/rc.local
#!/bin/bash
Expand Down

0 comments on commit 0c15967

Please sign in to comment.