diff options
-rwxr-xr-x | etc/rc | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -238,20 +238,14 @@ if [ ! -d /cf/conf/backup/ ]; then /bin/mkdir -p /cf/conf/backup/ fi -# OpenVPN storage -if [ ! -d /var/etc/openvpn ]; then - /bin/mkdir -p /var/etc/openvpn -fi -if [ ! -d /var/etc/openvpn-csc ]; then - /bin/mkdir -p /var/etc/openvpn-csc -fi - set -T trap "echo 'Reboot interrupted'; exit 1" 3 # Remove old nameserver resolution files /bin/rm -f /var/etc/nameserver* -/bin/rm -f /etc/newsyslog.conf +if [ -f /etc/newsyslog.conf ]; then + /bin/rm -f /etc/newsyslog.conf +fi # Create uploadbar tmp directory /bin/mkdir -p /tmp/uploadbar |