summaryrefslogtreecommitdiffstats
path: root/initrd/initrd-stuff
diff options
context:
space:
mode:
authorNico Dietrich2006-04-04 21:04:01 +0200
committerNico Dietrich2006-04-04 21:04:01 +0200
commit2291d42be23c84a59f1d8ccdc22d2deb4692f0b8 (patch)
tree35705c467a12cc783a3171c2e6ecdf6c659ea321 /initrd/initrd-stuff
parentfix gdm, kdm in debian, ubuntu (diff)
downloadcore-2291d42be23c84a59f1d8ccdc22d2deb4692f0b8.tar.gz
core-2291d42be23c84a59f1d8ccdc22d2deb4692f0b8.tar.xz
core-2291d42be23c84a59f1d8ccdc22d2deb4692f0b8.zip
introduce vendor_pre&postinit; inst: only create new config_files when different; portmap in ubuntu
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@153 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff')
-rwxr-xr-xinitrd/initrd-stuff/init3
1 files changed, 3 insertions, 0 deletions
diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init
index 02133c30..bea32b4d 100755
--- a/initrd/initrd-stuff/init
+++ b/initrd/initrd-stuff/init
@@ -44,6 +44,8 @@ exec < /dev/console > /dev/console 2>&1
# run pre init script
preinit
+[ -x /bin/vendor_preinit ] && /bin/vendor_preinit
+
# start device auto discovery service - distro specific function
udev_hotplug
# set defaults and create waitfor files
@@ -412,6 +414,7 @@ killall -9 dhcpcd dhclient pump 2>/dev/null
# post init for some distro specific
postinit
+[ -x /bin/vendor_postinit ] && /bin/vendor_postinit
# start a debug shell in higher debug levels
[ $DEBUGLEVEL -gt 2 ] && /bin/sh