chiark / gitweb /
dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemd
[elogind.git] / src / main.c
index a041a22edaf819a44fa9186ab9ef38a35ab519d8..37768c67adc8bd6d97a440561ca1c3c84739bb41 100644 (file)
@@ -1044,7 +1044,7 @@ int main(int argc, char *argv[]) {
 
         /* If Plymouth is being run make sure we show the status, so
          * that there's something nice to see when people press Esc */
-        if (access("/dev/.systemd/plymouth", F_OK) >= 0)
+        if (access("/dev/.run/systemd/plymouth", F_OK) >= 0)
                 arg_show_status = true;
 
         if (arg_action == ACTION_HELP) {
@@ -1131,8 +1131,6 @@ int main(int argc, char *argv[]) {
                 machine_id_setup();
                 loopback_setup();
 
-                mkdir_p("/dev/.systemd/ask-password/", 0755);
-
                 test_mtab();
                 test_usr();
         }