mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
bootmisc: Fix misspelled uuidd
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
07d6e69c30
commit
bacaea0e02
1 file changed
+4
-4
+4
-4
@@ -170,13 +170,13 @@ static void setup(void *arg)
|
|||||||
chown("/dev/xconsole", 0, gid);
|
chown("/dev/xconsole", 0, gid);
|
||||||
|
|
||||||
/* Void Linux has a uuidd that runs as uuid:uuid and needs /run/uuid */
|
/* Void Linux has a uuidd that runs as uuid:uuid and needs /run/uuid */
|
||||||
uid = getuser("uuid", NULL);
|
uid = getuser("uuidd", NULL);
|
||||||
if (uid >= 0) {
|
if (uid >= 0) {
|
||||||
gid = getgroup("uuid");
|
gid = getgroup("uuidd");
|
||||||
if (gid < 0)
|
if (gid < 0)
|
||||||
gid = 0;
|
gid = 0;
|
||||||
makedir("/var/run/uuid", 0755);
|
makedir("/var/run/uuidd", 0755);
|
||||||
chown("/var/run/uuid", uid, gid);
|
chown("/var/run/uuidd", uid, gid);
|
||||||
}
|
}
|
||||||
|
|
||||||
umask(022);
|
umask(022);
|
||||||
|
|||||||
Reference in new issue
Block a user