]> err.no Git - systemd-rc/commitdiff
Add checkroot and mountkernfs service
authorTollef Fog Heen <tfheen@err.no>
Sun, 2 May 2010 16:48:05 +0000 (18:48 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sun, 2 May 2010 16:48:05 +0000 (18:48 +0200)
systemd isn't smart enough to look for .sh variants yet, so add manual
jobs for those two which are needed for booting.

checkroot.service [new file with mode: 0644]
mountkernfs.service [new file with mode: 0644]

diff --git a/checkroot.service b/checkroot.service
new file mode 100644 (file)
index 0000000..435f2d1
--- /dev/null
@@ -0,0 +1,9 @@
+[Unit]
+Description=Check root fs
+
+[Service]
+ExecStart=/etc/init.d/checkroot.sh
+Type=finish
+TimeoutSec=0
+StandardInput=tty
+ValidNoProcess=yes
diff --git a/mountkernfs.service b/mountkernfs.service
new file mode 100644 (file)
index 0000000..f62888e
--- /dev/null
@@ -0,0 +1,9 @@
+[Unit]
+Description=Mount kernel file systems
+
+[Service]
+ExecStart=/etc/init.d/mountkernfs.sh
+Type=finish
+TimeoutSec=0
+StandardInput=tty
+ValidNoProcess=yes