From fb67f24f4eff46b4792be2cd8a32127e96e44759 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sun, 28 May 2006 19:49:03 +0000 Subject: corrected timing issue for apperance of nbd modules (within init), placeholder functions for distro specific stuff in /etc/functions ... git-svn-id: http://svn.openslx.org/svn/openslx/ld4@240 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/etc/functions | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'initrd/initrd-stuff/etc/functions') diff --git a/initrd/initrd-stuff/etc/functions b/initrd/initrd-stuff/etc/functions index a07ebaef..b240ce4b 100644 --- a/initrd/initrd-stuff/etc/functions +++ b/initrd/initrd-stuff/etc/functions @@ -2,13 +2,33 @@ # linux diskless clients (included by init, hwautocfg, # servconfig, ... within initial ramdisk) # -# Author(s): Dirk von Suchodoletz , 30-04-2006 +# Author(s): Dirk von Suchodoletz , 28-05-2006 # Felix Endres, 30-04-2006 +# Tobias Maier # # Copyright: (c) 2006 - RZ Universitaet Freiburg # # Version: 0.4.2d +####################################################################### +# set of empty dummy functions (loaded before real functions in the +# distro specific files - to have no undeclared function in init, serv- +# config, hwautocfg, ... + +# distro specific funtion called at the beginning of init script +preinit () { + : +} +# distro specific funtion called at the end of init script +postinit () { + : +} +# distro specific general function called from servconfig script +config_distro () { + : +} + + ####################################################################### # generate events with the sysfs trigger trigger_device_events () { -- cgit v1.2.3-55-g7522