summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
Commit message (Collapse)AuthorAgeFilesLines
...
* cmd == ""Dirk von Suchodoletz2007-01-301-0/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@652 95ad53e4-c205-0410-b2fa-d234c58c8868
* Added exclusion of runlevel links to init (tar in bind mount scenario toDirk von Suchodoletz2007-01-301-1/+5
| | | | | | | 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/+24
| | | | | | | | | | | | 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
* Quiet output, if in debug=0 ...Root2007-01-121-8/+9
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@622 95ad53e4-c205-0410-b2fa-d234c58c8868
* Busybox is now properly named for the two supported architectures: i386Dirk von Suchodoletz2007-01-101-1/+9
| | | | | | | | | | and x86_64. mkdxsinitrd includes usb keyboard stuff per default and init loads the modules rather early (otherwise on non-legacy machines debugging might be difficult) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@609 95ad53e4-c205-0410-b2fa-d234c58c8868
* Busybox compiled for x86_64 (tested on 64bit SuSE9.3, 10.0 and DebianDirk von Suchodoletz2007-01-061-1/+1
| | | | | | | Sarge) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@591 95ad53e4-c205-0410-b2fa-d234c58c8868
* Small cleanups ...Dirk von Suchodoletz2006-12-221-10/+13
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@581 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix for non-busybox watchdog (or should we add (u)sleep to the initramfsDirk von Suchodoletz2006-12-221-1/+2
| | | | | | | too?) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@580 95ad53e4-c205-0410-b2fa-d234c58c8868
* Kill the "watchdog" properly at the end of init (stage3).Dirk von Suchodoletz2006-12-221-4/+1Star
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@579 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fix for busybox nfs mount (uses UDP in default, so TCP has to be givenDirk von Suchodoletz2006-12-221-1/+1
| | | | | | | | 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-10/+15
| | | | | | | | | | | 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-3/+5
| | | | | | | if present in InitRamFS... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@551 95ad53e4-c205-0410-b2fa-d234c58c8868
* Busybox had broken killall - fixed. Fixed replacement bug for udhcpcDirk von Suchodoletz2006-12-151-1/+1
| | | | | | | | script, nameserver in resolv.conf is set properly now. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@549 95ad53e4-c205-0410-b2fa-d234c58c8868
* Renamed run-init to switch_root to simplify the usage of the busyboxDirk von Suchodoletz2006-12-151-2/+2
| | | | | | | pendant in stage3 init script... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@545 95ad53e4-c205-0410-b2fa-d234c58c8868
* Added new busybox in new place (tools, Makefile, ...) Busybox hasDirk von Suchodoletz2006-12-151-2/+4
| | | | | | | | | 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-10/+10
| | | | | | | | | 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
* Wrong fix made it ... corrected now (missing netmask in machine-setup)Dirk von Suchodoletz2006-12-021-2/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@527 95ad53e4-c205-0410-b2fa-d234c58c8868
* Renaming of the floppy image for vmware stuff ... Optional parameter for Dirk von Suchodoletz2006-12-021-3/+17
| | | | | | | | | directly passing location of machine-setup to mkdxsinitrd. Fixes and additions (auto power off - not enabled yet) and bugfix for missing netmask ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@526 95ad53e4-c205-0410-b2fa-d234c58c8868
* Permissions fix for /dev/shm (a+rwxt ...)Dirk von Suchodoletz2006-11-211-0/+1
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@520 95ad53e4-c205-0410-b2fa-d234c58c8868
* Support for commercial X servers (ATI at the moment ...)Dirk von Suchodoletz2006-11-201-4/+4
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@514 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixed Problem with old Kernel command line parameterFelix Endres2006-11-141-2/+3
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@511 95ad53e4-c205-0410-b2fa-d234c58c8868
* Fixed nfs mount problem (wrong composition of nfsroot due to changes for Dirk von Suchodoletz2006-11-031-5/+9
| | | | | | | | @@@serverip@@@ variable ...) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@501 95ad53e4-c205-0410-b2fa-d234c58c8868
* First changes for syslog (URI format possible in variable syslog, seeDirk von Suchodoletz2006-10-291-0/+6
| | | | | | | ''machine-setup''), fallback in init if no kernel-version is passed ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@497 95ad53e4-c205-0410-b2fa-d234c58c8868
* Cleanup, minor fix, formatting, comments, ...Dirk von Suchodoletz2006-10-291-1/+1
| | | | 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-31/+27Star
| | | | | | | | | | | | | | 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
* First steps for rootfs on iscsi/* integration ... Dirk von Suchodoletz2006-10-151-1/+15
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@465 95ad53e4-c205-0410-b2fa-d234c58c8868
* Hardware "database" files updated, enabled multicast for dnbd use ...Michael Janczyk2006-10-131-0/+2
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@457 95ad53e4-c205-0410-b2fa-d234c58c8868
* Problem with nbd-client timing fixed in init. Still problem withMichael Janczyk2006-09-291-2/+3
| | | | | | | | tftpboot prefix in /etc/functions, so reset to /tftpboot/client-conf as prefix. Please change only if fixed :-) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@415 95ad53e4-c205-0410-b2fa-d234c58c8868
* * hopefully cleared up issue with tftpboot-prefix, as we expect the tftp-serverOliver Tappe2006-09-291-1/+1
| | | | | | | | | to serve from SLX_TFTPBOOT_PATH, we only need to request 'client-config' as it's a relative path. If that is changed, the slxconfig-demuxer needs to be changed accordingly, or the automatic setup won't work anymore. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@411 95ad53e4-c205-0410-b2fa-d234c58c8868
* added xen network bridge configuration ./mkdxs... -m "netloop"Michael Janczyk2006-09-271-0/+7
| | | | git-svn-id: http://svn.openslx.org/svn/openslx/trunk@396 95ad53e4-c205-0410-b2fa-d234c58c8868
* * if NFSROOT contains @@@server_ip@@@, it is now replaces by the real ↵Oliver Tappe2006-09-221-0/+6
| | | | | | | | | | | server-ip. This makes things much more painless when the client is actually a vmware session on the same host (it used to be necessary to explicitly set the correct IP to the one of the corresponding vmnet-interface, as otherwise the client was unable to mount the NFS-root). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@385 95ad53e4-c205-0410-b2fa-d234c58c8868
* Hopefully completed #78 task, moved directory name (initramfs toDirk von Suchodoletz2006-09-181-0/+527
distinguish from ancient but not longer used Initial Ramdisk concept) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@380 95ad53e4-c205-0410-b2fa-d234c58c8868