summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-09-02 18:06:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-09-02 18:06:33 +0000
commit544156a7adb3177879041be663aae10992b791e8 (patch)
treed39cde6dc22cfcfbd64c0a1bd86a0ce0ca7b01ed /etc
parentdda5c8d90d86de39777df2ed6455e18083b496d1 (diff)
downloadpfsense-544156a7adb3177879041be663aae10992b791e8.zip
pfsense-544156a7adb3177879041be663aae10992b791e8.tar.gz
Convert items to long if format
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc12
1 files changed, 9 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index cedada1..ccdf27b 100755
--- a/etc/rc
+++ b/etc/rc
@@ -141,11 +141,17 @@ if [ ! -L /etc/sasyncd.conf ]; then
chmod 0600 /var/etc/sasyncd.conf
fi
-[ ! -d /var/tmp ] || mkdir -p /var/tmp 2>/dev/null
+if [ ! -d /var/tmp ]; then
+ mkdir -p /var/tmp
+fi
-[ ! -d /cf/conf/backup/ ] || mkdir -p /cf/conf/backup/ 2>/dev/null
+if [ ! -d /cf/conf/backup/ ]; then
+ mkdir -p /cf/conf/backup/
+fi
-[ ! -f /var/db/ez-ipupdate.cache ] || touch /var/db/ez-ipupdate.cache 2>/dev/null
+if [ ! -f /var/db/ez-ipupdate.cache ]; then
+ touch /var/db/ez-ipupdate.cache
+fi
# OpenVPN storage
if [ ! -d /var/etc/openvpn ]; then
OpenPOWER on IntegriCloud