diff options
author | Dirk von Suchodoletz | 2009-01-28 13:44:22 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-01-28 13:44:22 +0100 |
commit | ddad116182104be171a9b958d449d6525979e295 (patch) | |
tree | 9071cc8a0e95f852c2f686cdcc503d8f5d97c2f4 /initramfs | |
parent | Avoid interpretation of shell script variables by perl. (diff) | |
download | core-ddad116182104be171a9b958d449d6525979e295.tar.gz core-ddad116182104be171a9b958d449d6525979e295.tar.xz core-ddad116182104be171a9b958d449d6525979e295.zip |
Rearranging preboot environment file structure.
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2537 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs')
-rw-r--r-- | initramfs/preboot/boot.mconf | 19 | ||||
-rw-r--r-- | initramfs/preboot/mconf_examples | 144 | ||||
-rw-r--r-- | initramfs/preboot/preboot.sh | 52 |
3 files changed, 0 insertions, 215 deletions
diff --git a/initramfs/preboot/boot.mconf b/initramfs/preboot/boot.mconf deleted file mode 100644 index 0f0acc17..00000000 --- a/initramfs/preboot/boot.mconf +++ /dev/null @@ -1,19 +0,0 @@ -mainmenu "OpenSLX Selection of Bootable Systems" -choice - prompt "Bootable Systems" - -config system1 - bool "scilin-4.7-default nfs" - -config system2 - bool "suse-10.2-main nfs" - -config system3 - bool "suse-11.0-vmtest nfs" - -config system4 - bool "ubuntu-8.04-default nfs" - -config system5 - bool "ubuntu-8.04-vmtest nfs" -endchoice diff --git a/initramfs/preboot/mconf_examples b/initramfs/preboot/mconf_examples deleted file mode 100644 index 2a391b49..00000000 --- a/initramfs/preboot/mconf_examples +++ /dev/null @@ -1,144 +0,0 @@ - -# drivers/Kconfig -# - -mainmenu "OpenSLX Client Configuration" - -# keine Ahnung was das kann -#config DEFCONFIG_LIST -# string -# depends on !UML -# option defconfig_list -# default "/lib/modules/$UNAME_RELEASE/.config" -# default "/etc/kernel-config" -# default "/boot/config-$UNAME_RELEASE" -# default "arch/$ARCH/defconfig" - -menu "User Configuration" - -config ucfg_root_enabled - bool "Enable administrator account (root) for login." - default y - help - Allow to login as system administrator to your OpenSLX client. You should - set a password then. - - If unsure, say N. - -config ucfg_root_password - string "root password" - depends on ucfg_root_enabled - default "OpEnSlX" - help - Define a password for the system administrator (root) of your OpenSLX - client. - -comment "First Standard User" - -config ucfg_standard_user - default y - bool "Define a standard user with normal priviledges." - help - This allows you to define a normal user to be configured on your OpenSLX - client. Logging on using this user gives you standard experience with in - the several environments. - - If you are unsure about this, Say Y here. - -config ucfg_stduser_name - string "name of standard user" - depends on ucfg_standard_user - default "openslx" - help - Define an account name for the first standard user of your system. - -config ucfg_stduser_password - string "password of standard user" - depends on ucfg_standard_user - default "change_it" - help - Please change the predefined password! - -comment "Further Standard Users" - -config ucfg_second_user - default n - bool "Define a second user with normal priviledges if you like." - help - This allows you to define an additional user to be configured on your - OpenSLX client. Same priviledges like the standard user. - - If you are unsure about this, Say N here. - -config ucfg_secuser_name - string "name of standard user" - depends on ucfg_second_user - default "second" - help - Define an account name for the second standard user of your system. - -config ucfg_secuser_password - string "password of second user" - depends on ucfg_second_user - default "change_it_too" - help - Please change the predefined password! - -config ucfg_third_user - default n - bool "Define a third user with normal priviledges if you like." - help - This allows you to define an additional user to be configured on your - OpenSLX client. Same priviledges like the standard user. - - If you are unsure about this, Say N here. - -config ucfg_thduser_name - string "name of standard user" - depends on ucfg_third_user - default "third" - help - Define an account name for the second standard user of your system. - -config ucfg_thduser_password - string "password of second user" - depends on ucfg_third_user - default "change_it_too" - help - Please change the predefined password! - -config RT_MUTEXES - boolean - select PLIST - -endmenu - -choice - prompt "Subarchitecture Type" - default X86_PC - -config X86_PC - bool "PC-compatible" - help - Choose this option if your computer is a standard PC or compatible. - -config X86_XEN - bool "Xen-compatible" - depends on X86_32 - select SYS_HYPERVISOR - help - Choose this option if you plan to run this kernel on top of the - Xen Hypervisor. - -config X86_ELAN - bool "AMD Elan" - depends on X86_32 - help - Select this for an AMD Elan processor. - - Do not use this option for K6/Athlon/Opteron processors! - - If unsure, choose "PC-compatible" instead. - -endchoice - diff --git a/initramfs/preboot/preboot.sh b/initramfs/preboot/preboot.sh deleted file mode 100644 index d7a12113..00000000 --- a/initramfs/preboot/preboot.sh +++ /dev/null @@ -1,52 +0,0 @@ - -echo "Fetching pxeboot for menu" -#rm pxeboot -#wget ftp://planets:pp2006-10@archive.ruf.uni-freiburg.de/internal/pxeboot - - -# create the mconf configuration for the system to boot selection -echo -e 'mainmenu "OpenSLX Selection of Bootable Systems\nchoice\n\ - prompt "Bootable Systems"\n' > boot.mconf - -count=0 -while read line; do - #echo $line - case "$line" in - LABEL\ *) - count=$(expr 1 + $count) - file=${line#LABEL } - echo "label=$file" > ${count}${file}.system - echo -e "config boot_system${count}\n" >> boot.mconf - ;; - *MENU\ LABEL*) - echo "menuentry=\"${line#* ^}\"" >> ${count}${file}.system - echo " bool \"${line#* ^}\"" >> boot.mconf - ;; - *KERNEL\ *) - echo "kernel=${line#*::}" >> ${count}${file}.system - ;; - *IPAPPEND*) - : - ;; - *APPEND\ *) - echo $line|sed "s/.*APPEND /append=\"/;s,initrd=.*/init,initrd=init,;s/$/\"/" >> ${coun -t}${file}.system - echo $line|sed "s,.*APPEND.*initrd=.*/init,initramfs=init,;s, .*,,;" >> ${count}${file} -.system - ;; - *TEXT\ HELP*) - echo " help\n Help text here ..." >> boot.mconf - ;; - esac -done < pxeboot - -#while test -e ${i}*.system && . ${i}*.system 2>/dev/null ; do -# dialogstring="$dialogstring \"$menuentry\" \"\" 1" -# i=$(expr 1 + $i) -#done - - - -wget ftp://planets:pp2006-10@archive.ruf.uni-freiburg.de/internal/$kernel -o kernel -wget ftp://planets:pp2006-10@archive.ruf.uni-freiburg.de/internal/$initramfs -o initramfs - |