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