diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c index 0e0e73c9ac..77a49f82a9 100644 --- a/src/fsck/fsck.c +++ b/src/fsck/fsck.c @@ -104,16 +104,11 @@ static int parse_proc_cmdline_item(const char *key, const char *value, void *dat } } -#if HAVE_SYSV_COMPAT - else if (streq(key, "fastboot") && !value) { - log_warning("Please pass 'fsck.mode=skip' rather than 'fastboot' on the kernel command line."); + else if (streq(key, "fastboot") && !value) arg_skip = true; - } else if (streq(key, "forcefsck") && !value) { - log_warning("Please pass 'fsck.mode=force' rather than 'forcefsck' on the kernel command line."); + else if (streq(key, "forcefsck") && !value) arg_force = true; - } -#endif return 0; } diff --git a/src/quotacheck/quotacheck.c b/src/quotacheck/quotacheck.c index ef5fec3f10..3166faa580 100644 --- a/src/quotacheck/quotacheck.c +++ b/src/quotacheck/quotacheck.c @@ -32,14 +32,9 @@ static int parse_proc_cmdline_item(const char *key, const char *value, void *dat arg_skip = true; else log_warning("Invalid quotacheck.mode= parameter '%s'. Ignoring.", value); - } -#if HAVE_SYSV_COMPAT - else if (streq(key, "forcequotacheck") && !value) { - log_warning("Please use 'quotacheck.mode=force' rather than 'forcequotacheck' on the kernel command line."); + } else if (streq(key, "forcequotacheck") && !value) arg_force = true; - } -#endif return 0; }