Move bootlocal.* from grml-autoconfig here
authorChristian Hofstaedtler <ch@grml.org>
Fri, 29 Jul 2011 09:29:36 +0000 (11:29 +0200)
committerChristian Hofstaedtler <ch@grml.org>
Fri, 29 Jul 2011 09:29:36 +0000 (11:29 +0200)
etc/grml/fai/config/files/etc/init.d/bootlocal.first/GRMLBASE [new file with mode: 0644]
etc/grml/fai/config/files/etc/init.d/bootlocal.last/GRMLBASE [new file with mode: 0644]
etc/grml/fai/config/files/etc/init.d/bootlocal.middle/GRMLBASE [new file with mode: 0644]
etc/grml/fai/config/scripts/GRMLBASE/15-initsetup

diff --git a/etc/grml/fai/config/files/etc/init.d/bootlocal.first/GRMLBASE b/etc/grml/fai/config/files/etc/init.d/bootlocal.first/GRMLBASE
new file mode 100644 (file)
index 0000000..da45e0c
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+# This file is NOT upgraded during system upgrades.
+# You can use it to customize the boot process.
+# bootlocal.first is executed in runlevel 'S', at the very beginning.
+################################################################################
+
+## END OF FILE #################################################################
diff --git a/etc/grml/fai/config/files/etc/init.d/bootlocal.last/GRMLBASE b/etc/grml/fai/config/files/etc/init.d/bootlocal.last/GRMLBASE
new file mode 100644 (file)
index 0000000..3a62be7
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+# This file is NOT upgraded during system upgrades.
+# You can use it to customize the boot process.
+# bootlocal.last is executed in runlevel '2', at the very end.
+################################################################################
+
+## END OF FILE #################################################################
diff --git a/etc/grml/fai/config/files/etc/init.d/bootlocal.middle/GRMLBASE b/etc/grml/fai/config/files/etc/init.d/bootlocal.middle/GRMLBASE
new file mode 100644 (file)
index 0000000..b508cd7
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+# This file is NOT upgraded during system upgrades.
+# You can use it to customize the boot process.
+# bootlocal.middle is executed in runlevel '2', right before grml-autoconfig.
+################################################################################
+
+## END OF FILE #################################################################
index d09ce33..4af5106 100755 (executable)
@@ -31,5 +31,10 @@ fcopy -v /etc/runlevel.conf
 # provide Grml's inittab configuration
 fcopy -v /etc/inittab
 
+# provide Grml's bootlocal init scripts
+fcopy -v /etc/init.d/bootlocal.first
+fcopy -v /etc/init.d/bootlocal.middle
+fcopy -v /etc/init.d/bootlocal.last
+
 ## END OF FILE #################################################################
 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2