summaryrefslogtreecommitdiff
path: root/etc/init.d/vyatta-ofr
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d/vyatta-ofr')
-rwxr-xr-xetc/init.d/vyatta-ofr3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr
index 4b9c6c9..a74a87e 100755
--- a/etc/init.d/vyatta-ofr
+++ b/etc/init.d/vyatta-ofr
@@ -30,6 +30,9 @@
. /lib/lsb/init-functions
+# Allow disabling vyatta configuration on boot
+grep -q novyatta /proc/cmdline && exit 0
+
: ${vyatta_env:=/etc/default/vyatta}
source $vyatta_env