chiark / gitweb /
install: default to minimal realization mode
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Jul 2010 03:24:24 +0000 (05:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Jul 2010 03:24:24 +0000 (05:24 +0200)
man/systemd-install.xml
src/install.c

index 47dc63a615b33df56ca514b7f16e045f3fdc43b7..228a9169990b6360e4cf1e8d7f8cc2e1697f8183 100644 (file)
                                 <option>--realize</option> is
                                 specifieed but the mode value is
                                 omitted defaults to
-                                <option>maybe</option>. This option
+                                <option>minimal</option>. This option
                                 has no effect when
                                 <option>--global</option> or
                                 <command>test</command> is used, or
                                 <option>--realize</option>. If
                                 <option>--realize</option> is not
                                 specified implies
-                                <option>maybe</option> mode. To
+                                <option>minimal</option> mode. To
                                 override this mode specify
                                 <option>--realize=</option> in
                                 addition to
index 751d52b6480ade3b7d5f90b7dad105a34d9cda17..2d6316aa8fbb17034b9091b3cc0b7b248acec93b 100644 (file)
@@ -156,7 +156,7 @@ static int parse_argv(int argc, char *argv[]) {
                         realize_switch = true;
 
                         if (!optarg)
-                                arg_realize = REALIZE_MAYBE;
+                                arg_realize = REALIZE_MINIMAL;
                         else if (streq(optarg, "no"))
                                 arg_realize = REALIZE_NO;
                         else if (streq(optarg, "minimal"))
@@ -206,7 +206,7 @@ static int parse_argv(int argc, char *argv[]) {
                 arg_action = ACTION_REALIZE;
 
                 if (!realize_switch)
-                        arg_realize = REALIZE_MAYBE;
+                        arg_realize = REALIZE_MINIMAL;
         } else {
                 log_error("Unknown verb %s.", argv[optind]);
                 return -EINVAL;