summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc12
1 files changed, 3 insertions, 9 deletions
diff --git a/etc/rc b/etc/rc
index 9677b98..261c830 100755
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud