summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2013-11-03 02:28:42 +0100
committerDaniil Baturin <daniil@baturin.org>2013-11-03 02:28:42 +0100
commitded81deb74940b38abbc73152919e24d04a0f462 (patch)
tree0684a8c85ab847d81414c2a21857d21c83bf01d4
parentb7bc5c9e3945d0310f9045fdd047791185dafd29 (diff)
downloadvyatta-cfg-ded81deb74940b38abbc73152919e24d04a0f462.tar.gz
vyatta-cfg-ded81deb74940b38abbc73152919e24d04a0f462.zip
Rename novyatta-$foo kernel command line option to no-vyos-$foo
That option is used to disable specific init scripts, e.g no-vyos-migrate disables config migration.
-rwxr-xr-xetc/init.d/vyatta-router2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router
index 51b1175..ef76eba 100755
--- a/etc/init.d/vyatta-router
+++ b/etc/init.d/vyatta-router
@@ -57,7 +57,7 @@ GROUP=vyattacfg
# check if bootup of this portion is disabled
disabled () {
- grep -q -w novyatta-$1 /proc/cmdline
+ grep -q -w no-vyos-$1 /proc/cmdline
}
# if necessary, provide initial config