summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/etc/functions
diff options
context:
space:
mode:
authorRoot2006-11-14 23:42:29 +0100
committerRoot2006-11-14 23:42:29 +0100
commitb023f1e347ea40612778126f97b653bc0241aaba (patch)
treea3f83fecd654498452cdeb01cb5a7c7d94e6f5d0 /initramfs/initrd-stuff/etc/functions
parentFixed Problem with old Kernel command line parameter (diff)
downloadcore-b023f1e347ea40612778126f97b653bc0241aaba.tar.gz
core-b023f1e347ea40612778126f97b653bc0241aaba.tar.xz
core-b023f1e347ea40612778126f97b653bc0241aaba.zip
Problems with udhcpc fixed (not optimal), some exclude stuff, to get the
proper *.o and avoid the general crowd of *.o from kernel etc... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@512 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/etc/functions')
-rw-r--r--initramfs/initrd-stuff/etc/functions33
1 files changed, 10 insertions, 23 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions
index 9f647ff4..d1f86ca1 100644
--- a/initramfs/initrd-stuff/etc/functions
+++ b/initramfs/initrd-stuff/etc/functions
@@ -395,8 +395,9 @@ command line)." >> /etc/machine-setup
# udhcpc is part of busybox
udhcpc)
[ -n $vci ] && vci="-V $vci"
- ln -s /bin/dhcpmkconfig /bin/udhcpc.script
- udhcpc -b -q $vci -s /bin/udhcpc.script -i eth0
+ testmkd /usr/share/udhcpc
+ ln -s /bin/dhcpmkconfig /usr/share/udhcpc/default.script
+ udhcpc -b -q $vci -s /usr/share/udhcpc/default.script -i eth0
;;
*)
;;
@@ -903,34 +904,20 @@ for i in boot.ld ${D_INITSCRIPTS}; do
ln -sf /etc${D_INITDIR}/$i /mnt/etc/${D_INITBOOTD}/K${revcnt}$i
done
}
-#############################################################################
-# find out if prerequisites for special X server modules are met (incomplete)
-checkglx () {
-case "${XMODULE}" in
- radeon)
- # check ${XDESC}/ hwsetup.info device string in Cards file and then
- # for needed components
- test -f /mnt/lib/modules/${KERNEL}/kernel/drivers/char/drm/fglrx.ko \
- && test -f /mnt/usr/X11R6/lib/modules/drivers/fglrx_drv.* && \
- XMODULE=fglrx
- # there seems no problem, if no TV is connected
- #TVOUT='\tOption\t\t"TVFormat" "PAL-B"\n
-#\tOption\t\t"DesktopSetup" "horizontal"'
- ;;
- nv)
- #
- # test -f /mnt/usr/X11R6/lib/modules/drivers/nvidia_drv.*
- ;;
-esac
-}
#############################################################################
# dummy functions - avoid undefined functions in servconfig (functions are
# normally overwritten by settings within distro-functions - a file generated
# by slxmkramfs from <distro>/functions-default & ~-version
+# find out if prerequisites for special X server modules are met (distro
+# specific)
+checkglx () {
+:
+}
+
# overwrite xorg configuration set by hwautocfg
-displayvars (){
+displayvars () {
:
}