summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/etc/functions
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleanup for SuSE stage3, placeholders for 10.3 support added ...Dirk von Suchodoletz2007-04-281-2/+2
| | | | | | | (to be checked if beta is available) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@945 95ad53e4-c205-0410-b2fa-d234c58c8868
* Code cleanups, simplifications ...Dirk von Suchodoletz2007-04-281-3/+2Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@942 95ad53e4-c205-0410-b2fa-d234c58c8868
* More cleanups ... in functions and SLX initDirk von Suchodoletz2007-04-281-53/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@940 95ad53e4-c205-0410-b2fa-d234c58c8868
* Further simplifications and cleanups (because of busybox switchover)Dirk von Suchodoletz2007-04-281-48/+14Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@939 95ad53e4-c205-0410-b2fa-d234c58c8868
* Simplification of (u)sleep (applets in busybox)Dirk von Suchodoletz2007-04-281-32/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@938 95ad53e4-c205-0410-b2fa-d234c58c8868
* Major changes for stage3/initramfs: busybox is made the main tool ...Dirk von Suchodoletz2007-04-281-7/+1Star
| | | | | | | | mkdxsinitrd is changed accordingly, with some fixes, cleanups to init and functions ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@936 95ad53e4-c205-0410-b2fa-d234c58c8868
* Support the setup (basic functionality only) of printer and samba (SuSEDirk von Suchodoletz2007-04-241-1/+12
| | | | | | | only at the moment) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@923 95ad53e4-c205-0410-b2fa-d234c58c8868
* Bugfixing and fine-tuning last changesFelix Endres2007-04-211-4/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@914 95ad53e4-c205-0410-b2fa-d234c58c8868
* AUFS changes.Felix Endres2007-04-161-2/+12
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@905 95ad53e4-c205-0410-b2fa-d234c58c8868
* Renaming of boot.ld to boot.slx to be more naming compliant (and Dirk von Suchodoletz2007-04-011-3/+3
| | | | | | | understandable) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@848 95ad53e4-c205-0410-b2fa-d234c58c8868
* Some simple fixes and additions to the hardware database.Dirk von Suchodoletz2007-03-211-0/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@791 95ad53e4-c205-0410-b2fa-d234c58c8868
* Removed "strip" for slxmkramfs too, small fix for message output ...Dirk von Suchodoletz2007-03-201-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@788 95ad53e4-c205-0410-b2fa-d234c58c8868
* Incomplete pcitable again (added some specific devices), fix for XorgDirk von Suchodoletz2007-03-021-1/+1
| | | | | | | call ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@741 95ad53e4-c205-0410-b2fa-d234c58c8868
* Rootfs stacking functionality for unionfsFelix Endres2007-02-271-38/+42
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@730 95ad53e4-c205-0410-b2fa-d234c58c8868
* Problems with certain hardware modules (ata_piix in SuSE10.2)Dirk von Suchodoletz2007-02-261-2/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@726 95ad53e4-c205-0410-b2fa-d234c58c8868
* Bugfix for init/hwautocfg (waitfor), minor cleanups ...Dirk von Suchodoletz2007-02-261-1/+0Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@724 95ad53e4-c205-0410-b2fa-d234c58c8868
* Restructured hwautocfg (moved hw related parts of init into it) - Dirk von Suchodoletz2007-02-261-1/+10
| | | | | | | should fix hangs on certain hardware (not fully tested yet) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@721 95ad53e4-c205-0410-b2fa-d234c58c8868
* First draft of function to stack the root fs from different sources with unionfsFelix Endres2007-02-261-0/+40
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@720 95ad53e4-c205-0410-b2fa-d234c58c8868
* Started NFSv4 integration (only sensible for newer distros, e.g. Dirk von Suchodoletz2007-02-211-1/+9
| | | | | | | | | SuSE 10.), removed AFS from SuSE10.2 (deprecated), fixed init for (nfsroot= deprecated too) and fixed functions for @@@serverip@@@ (dsuchod if --username dsuchod does not work) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@709 95ad53e4-c205-0410-b2fa-d234c58c8868
* Some cleanup for @@@serverip@@@ usage. Fixed debuglevel bug forDirk von Suchodoletz2007-02-061-6/+6
| | | | | | | | debug=10. Just optic for xorg.conf in Gentoo ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@689 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixed wrong error reporting on missing primary ethernet interface (inDirk von Suchodoletz2007-02-051-4/+6
| | | | | | | functions) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@681 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix for subnet_mask in machine-setup (via slx init from kernel cmdline).Dirk von Suchodoletz2007-02-041-11/+17
| | | | | | | Some improvement for stage3 error exit ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@678 95ad53e4-c205-0410-b2fa-d234c58c8868
* Renaming of variables (in slx init/functions) to be compatible with Dirk von Suchodoletz2007-02-041-6/+6
| | | | | | | | | | machine-setup assignements. Reading machine-setup at the beginning of slx init to have the possibility to move kernel commandline parameters to file if common for all client using a certain InitRamFS ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@677 95ad53e4-c205-0410-b2fa-d234c58c8868
* Starts into X/kdm by now. xkb fails, udev is not present ...Dirk von Suchodoletz2007-02-011-1/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@668 95ad53e4-c205-0410-b2fa-d234c58c8868
* Got onto the proper track: Gentoo is somehow (incompletely) booting now.Dirk von Suchodoletz2007-02-011-0/+5
| | | | | | | | | | | Unfortunately the provided scripts of that distro are ugly to use :-( Added configuration to ''gentoo/config-default'', cleaned up the ''gentoo/functions-default''. Added the proper commands to modify boot scripts and startup into a slx usable way ... Still lots of stuff to do ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@665 95ad53e4-c205-0410-b2fa-d234c58c8868
* Cleanups in major startup scripts/functions and small fixes ...Dirk von Suchodoletz2007-01-311-19/+32
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@662 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixed slow stage3 in higher debuglevels (sleep -> usleep inDirk von Suchodoletz2007-01-311-3/+7
| | | | | | | | | | | | | /etc/functions) Heavy rewrite of base scripts init/hwautocfg/servconfig. Moved lots of stuff from hwautocfg to init and servconfig to get a cleaner structure (do not wait for processes of init or servconfig in hwautocfg) Cleanup started, old codefragments will be removed soon ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@661 95ad53e4-c205-0410-b2fa-d234c58c8868
* Added exclusion of runlevel links to init (tar in bind mount scenario toDirk von Suchodoletz2007-01-301-21/+7Star
| | | | | | | clean up initial_boot), see Changeset 650 too ... Minor fixes ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@651 95ad53e4-c205-0410-b2fa-d234c58c8868
* Recoded the shell "(u)sleep" functions, depends on /proc by now, butDirk von Suchodoletz2007-01-221-20/+27
| | | | | | | | | | | | should not impose to much (obsoletes rev. 629). Added AUTHORS file. Switched off halt/shutdown links for initial/boot.d scripts (in functions seems no need, but may produce problems if switched on) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@640 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix for busybox nfs mount (uses UDP in default, so TCP has to be givenDirk von Suchodoletz2006-12-221-2/+4
| | | | | | | | as explicit option), fix for dhcp request if no ip= is given in kernel commandline (set interface to UP). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@578 95ad53e4-c205-0410-b2fa-d234c58c8868
* Improved "watchdog" for auto power off, if stage3 does not completeDirk von Suchodoletz2006-12-171-37/+7Star
| | | | | | | | | | | after around two minutes. Removed klibc stuff (ipconfig, nfsmount) which was never really in use (klibc is deprecated and the busybox approach seems much more promising to keep the initramfs small and flexible). Little cleanups ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@564 95ad53e4-c205-0410-b2fa-d234c58c8868
* Enabled busybox udev service (see #99 too). Integrated for genereal useDirk von Suchodoletz2006-12-161-0/+24
| | | | | | | if present in InitRamFS... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@551 95ad53e4-c205-0410-b2fa-d234c58c8868
* Added new busybox in new place (tools, Makefile, ...) Busybox hasDirk von Suchodoletz2006-12-151-3/+3
| | | | | | | | | modified switch_root (same as for run-init ...) Updated mkdxsinitrd for busybox usage (same has to be done for slxmkramfs when tested properly) Minor fixes ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@536 95ad53e4-c205-0410-b2fa-d234c58c8868
* Autopoweroff if stuck in Stage3/initramfs. Unfortunately rather CPUDirk von Suchodoletz2006-12-141-1/+11
| | | | | | | | | intensive if no (u)sleep binary is used but shell instead (for some reason TMOUT=$1 read does not work in init) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@535 95ad53e4-c205-0410-b2fa-d234c58c8868
* First steps to include (open)SuSE10.2 into SLX environment (see #98). Tried ↵Dirk von Suchodoletz2006-12-141-2/+2
| | | | | | | | | to fix the /dev/nvidia* permissions (failed, see #92 too)... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@534 95ad53e4-c205-0410-b2fa-d234c58c8868
* runvmware xdialog write to stdout. kdmrc template established +Michael Janczyk2006-12-121-1/+102
| | | | | | | | adaptations for new kdmrc template. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@531 95ad53e4-c205-0410-b2fa-d234c58c8868
* Support for nvidia too, still to be checked. Disable parallel start ofDirk von Suchodoletz2006-11-201-2/+2
| | | | | | | | runlevel scripts in SuSE (no gain, but trouble), tvout option ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@515 95ad53e4-c205-0410-b2fa-d234c58c8868
* Support for commercial X servers (ATI at the moment ...)Dirk von Suchodoletz2006-11-201-2/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@514 95ad53e4-c205-0410-b2fa-d234c58c8868
* Problems with udhcpc fixed (not optimal), some exclude stuff, to get theRoot2006-11-141-23/+10Star
| | | | | | | 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
* tftp path issue, see documentation too (do not use the abs. pathDirk von Suchodoletz2006-11-141-15/+9Star
| | | | | | | in servers filesystem for tftp requests) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@509 95ad53e4-c205-0410-b2fa-d234c58c8868
* Small fix for output of syslog-ng.conf, comments ...Dirk von Suchodoletz2006-10-311-4/+3Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@500 95ad53e4-c205-0410-b2fa-d234c58c8868
* configuration of syslog-ng for SuSE should work now ... (added newDirk von Suchodoletz2006-10-311-1/+36
| | | | | | | function for writing the config file - sysngwriter in functions) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@499 95ad53e4-c205-0410-b2fa-d234c58c8868
* Cleanup, minor fix, formatting, comments, ...Dirk von Suchodoletz2006-10-291-55/+55
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@488 95ad53e4-c205-0410-b2fa-d234c58c8868
* Changed init for using a variable @@@serverip@@@ instead of fixedDirk von Suchodoletz2006-10-291-1/+14
| | | | | | | | | | | | | | defined server ip, introduced a function checkip to translate @@@serverip@@@ into the serverip the client determined itself. That helps in more dynamic environments with servers using more than one ip address. Added a special slx specific configuration file read in stage3 - /etc/sysconfig/slxconfig. For the (deprecated) mkdxsinitrd an ugly hack for creating a general slx config file instead of "patching" the stage3 init is implemented ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@487 95ad53e4-c205-0410-b2fa-d234c58c8868
* Hardware "database" files updated, enabled multicast for dnbd use ...Michael Janczyk2006-10-131-3/+9
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@457 95ad53e4-c205-0410-b2fa-d234c58c8868
* Bugfix in redirection in functions, moved ldap-stuff to ldap-functionsDirk von Suchodoletz2006-10-081-85/+9Star
| | | | | | | | | | | (at the moment not ash compatible), added special mkdxsinitrd.64bit (hack for clean 64bit environment), put hint to runvmware (special vmem file generated in tmpDirectory (of preferences), special check for lib64 for Xorg in hwautocfg ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@456 95ad53e4-c205-0410-b2fa-d234c58c8868
* corrected linebreak in ldapsearch (ldapconf helper-function)Tarik Gasmi2006-10-061-4/+5
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@447 95ad53e4-c205-0410-b2fa-d234c58c8868
* completed ldapconf helper-function matching_timerangeTarik Gasmi2006-10-061-0/+49
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@446 95ad53e4-c205-0410-b2fa-d234c58c8868
* added ldapconf helper-functionsTarik Gasmi2006-10-061-0/+18
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@445 95ad53e4-c205-0410-b2fa-d234c58c8868
* Naming in mkdxsinitrd and slxmkramfs (temporary directory where pre-cpio Dirk von Suchodoletz2006-10-031-2/+2
| | | | | | | | initialramfs stuff could be found -> /tmp/slx-tmpramfs), see MkinitrdHowto too ... (matched to documentation too) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@436 95ad53e4-c205-0410-b2fa-d234c58c8868