summaryrefslogtreecommitdiffstats
path: root/vservers-default
diff options
context:
space:
mode:
Diffstat (limited to 'vservers-default')
-rw-r--r--vservers-default6
1 files changed, 3 insertions, 3 deletions
diff --git a/vservers-default b/vservers-default
index 51e5ca4..5888844 100644
--- a/vservers-default
+++ b/vservers-default
@@ -21,7 +21,7 @@ LOCKFILE="$name"
# Include default configuration
-if [[ -r "/etc/vservers/.defaults/apps/vserver-startup/default" ]]; then
+if [ -r "/etc/vservers/.defaults/apps/vserver-startup/default" ]; then
. "/etc/vservers/.defaults/apps/vserver-startup/default"
fi
@@ -33,8 +33,8 @@ else
flavor="${name#vserver[-.]}"
fi
-if [[ "default" != "$flavor" &&
- -r "/etc/vservers/.defaults/apps/vserver-startup/$flavor" ]]; then
+if [ "default" != "$flavor" -a
+ -r "/etc/vservers/.defaults/apps/vserver-startup/$flavor" ]; then
. "/etc/vservers/.defaults/apps/vserver-startup/$flavor"
fi