summaryrefslogtreecommitdiffstats
path: root/early.c
diff options
context:
space:
mode:
Diffstat (limited to 'early.c')
-rw-r--r--early.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/early.c b/early.c
index c2c366b..cc5a17c 100644
--- a/early.c
+++ b/early.c
@@ -1,7 +1,9 @@
/*
+ * Copyright (C) 2015 Matthias Schiffer <mschiffer@universe-factory.net>
+ *
+ * Based on "procd" by:
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
* Copyright (C) 2013 John Crispin <blogic@openwrt.org>
- * Copyright (C) 2015 Matthias Schiffer <mschiffer@universe-factory.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 2.1
@@ -22,7 +24,7 @@
#include <unistd.h>
#include <stdlib.h>
-#include "procd.h"
+#include "unitd.h"
static void
early_console(const char *dev)
@@ -83,7 +85,7 @@ early_env(void)
}
void
-procd_early(void)
+unitd_early(void)
{
early_mounts();
early_console("/dev/console");