aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/rcS-dmraid.service
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2010-08-03 18:14:03 +0200
committerHarald Hoyer <harald@redhat.com>2010-08-03 18:21:38 +0200
commit34dd409cb1199e3573655293475a76beb86931cd (patch)
treebacd86bd6923ac5c0147411305425fc7f5ca1237 /systemd/rcS-dmraid.service
parente127d5bcfe2e0175e88e8afdd644ee05a22538a5 (diff)
downloadinitscripts-9.16.0.2.systemd-1.tar
initscripts-9.16.0.2.systemd-1.tar.gz
initscripts-9.16.0.2.systemd-1.tar.bz2
initscripts-9.16.0.2.systemd-1.tar.xz
initscripts-9.16.0.2.systemd-1.zip
add systemd servicesinitscripts-9.16.0.2.systemd-1
Diffstat (limited to 'systemd/rcS-dmraid.service')
-rw-r--r--systemd/rcS-dmraid.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/systemd/rcS-dmraid.service b/systemd/rcS-dmraid.service
new file mode 100644
index 00000000..34261322
--- /dev/null
+++ b/systemd/rcS-dmraid.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=System Initialization
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=rcS-multipath.service
+Before=rcS-initcrypto2.service
+Conflicts=sysinit.service
+
+[Service]
+ExecStart=/etc/rc.d/rcS.d/150-dmraid.sh
+Type=forking
+TimeoutSec=0
+ValidNoProcess=yes
+
+[Install]
+WantedBy=sysinit.target
ppc">#define EPOLL_CTL_ADD 1 /* Add a file decriptor to the interface */ #define EPOLL_CTL_DEL 2 /* Remove a file decriptor from the interface */ #define EPOLL_CTL_MOD 3 /* Change file decriptor epoll_event structure */ enum EPOLL_EVENTS { EPOLLIN = 0x001, #define EPOLLIN EPOLLIN EPOLLPRI = 0x002, #define EPOLLPRI EPOLLPRI EPOLLOUT = 0x004, #define EPOLLOUT EPOLLOUT #ifdef __USE_XOPEN EPOLLRDNORM = 0x040, #define EPOLLRDNORM EPOLLRDNORM EPOLLRDBAND = 0x080, #define EPOLLRDBAND EPOLLRDBAND EPOLLWRNORM = 0x100, #define EPOLLWRNORM EPOLLWRNORM EPOLLWRBAND = 0x200, #define EPOLLWRBAND EPOLLWRBAND #endif /* #ifdef __USE_XOPEN */ #ifdef __USE_GNU EPOLLMSG = 0x400, #define EPOLLMSG EPOLLMSG #endif /* #ifdef __USE_GNU */ EPOLLERR = 0x008, #define EPOLLERR EPOLLERR EPOLLHUP = 0x010 #define EPOLLHUP EPOLLHUP }; typedef union epoll_data { void *ptr; int fd; uint32_t u32; uint64_t u64; } epoll_data_t; struct epoll_event { uint32_t events; epoll_data_t data; }; int epoll_create(int size) __THROW; int epoll_ctl(int epfd, int op, int fd, struct epoll_event* event) __THROW; int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) __THROW; #endif