xref: /haiku/src/servers/launch/InitSharedMemoryDirectoryJob.cpp (revision 9642f7705b27e5c270c15fa526d14e1848c2c27d)
1 /*
2  * Copyright 2015, Axel Dörfler, axeld@pinc-software.de.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 
7 //! Empty main temporary directory
8 
9 
10 #include "InitSharedMemoryDirectoryJob.h"
11 
12 
13 InitSharedMemoryDirectoryJob::InitSharedMemoryDirectoryJob()
14 	:
15 	AbstractEmptyDirectoryJob("init /var/shared_memory")
16 {
17 }
18 
19 
20 status_t
21 InitSharedMemoryDirectoryJob::Execute()
22 {
23 	return CreateAndEmpty("/var/shared_memory");
24 }
25