summaryrefslogtreecommitdiffstats
path: root/early.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-11-29 14:10:00 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-11-30 09:53:47 +0100
commit1542738826dd0ed26cfc8f5e2e37ffe80f1b9676 (patch)
tree7eb7a6bfdb7f4217449741942253c2115e6ad5d7 /early.c
parent501c6d70a6a7357652e2a4fb1ad5856d90bde29b (diff)
downloadunitd-1542738826dd0ed26cfc8f5e2e37ffe80f1b9676.tar
unitd-1542738826dd0ed26cfc8f5e2e37ffe80f1b9676.zip
Rename to unitd, clean up CMakeLists.txt
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");