diff options
| author | s8tomaie | 2006-05-30 13:41:49 +0200 |
|---|---|---|
| committer | s8tomaie | 2006-05-30 13:41:49 +0200 |
| commit | d9b9e7f26372c235a9cc3768adc2babfa4815f77 (patch) | |
| tree | 4206a62de3e4cbf0b6a4fe1e4cb620e442921bb4 /initrd/distro-specs/ubuntu | |
| parent | corrected timing issue for apperance of nbd modules (within init), (diff) | |
| download | core-d9b9e7f26372c235a9cc3768adc2babfa4815f77.tar.gz core-d9b9e7f26372c235a9cc3768adc2babfa4815f77.tar.xz core-d9b9e7f26372c235a9cc3768adc2babfa4815f77.zip | |
leere funktionen in distro-specs gelöscht, dummys in etc/functions hinzugefühgt
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@241 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs/ubuntu')
| -rw-r--r-- | initrd/distro-specs/ubuntu/functions-5.10 | 156 |
1 files changed, 129 insertions, 27 deletions
diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index 69f693d1..314e49ef 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -21,10 +21,6 @@ preinit () { modprobe ${MODPRV} unix || error "$df_errumod" nonfatal } -postinit () { - : -} - # distro specific function called from servconfig script config_distro () { # add the halt link to the 0 and 6 runlevel directories @@ -104,6 +100,9 @@ fi # function for atd config_atd () { if [ "x$start_atd" = "xyes" ]; then + # testmkd /mnt/var/spool/atjobs + # testmkd /mnt/var/spool/atspool + # chown 1:1 /mnt/var/spool/atjobs /mnt/var/spool/atspool rllinker "atd" "14" "04" fi } @@ -128,7 +127,17 @@ fi # syslog service config_syslog () { if [ "x$start_syslog" = "xyes" ] ; then - echo >/dev/null + echo -e "# /etc/syslog.conf - file generated by $0" >/mnt/etc/syslogd.conf + echo "kern.warn;*.err;authpriv.none\t/dev/tty10\n\ +#kern.warn;*.err;authpriv.none\t|/dev/xconsole\n\ +#*.emerg\n\n*.=warn;*.=err\t\t\t-/var/log/warn\n\ +#*.crit\t\t\t\t/var/log/warn\n*.*;mail.none;news.none\t\t\ +#-/var/log/messages" >> /mnt/etc/syslogd.conf +# test -n "$log_servers" && \ +# for logserver in $log_servers; do +# echo -e "*.*;*.*;*.*;*kern.!*\t@$logserver" >>/mnt/etc/syslog.conf +# done + rllinker "sysklogd" "02" "18" fi } @@ -136,7 +145,10 @@ fi config_sshd () { if [ "x$start_sshd" = "xyes" ] ; then if [ -f /mnt/etc/init.d/ssh ] ; then + #testmkd /mnt/var/run/sshd rllinker "ssh" "12" "10" + else + error "$df_errsshd" nonfatal fi fi } @@ -158,17 +170,13 @@ consolefont () { echo -e "setfont ${CONSOLE_FONT} >${LOGFILE} 2>&1" \ >>/mnt/etc/${D_INITDIR}/boot.ld } - +"20" "02" # acpi and powersave config_acpi () { - : + rllinker "acpid" "02" "19" + rllinker "acpi-support" "20" "02" } -# configure xdm as display manager -config_xdm () { - : -} - # configure gdm as display manager config_gdm () { # start the display manager as early as possible, but avoid that is @@ -181,6 +189,115 @@ config_gdm () { # append gdm user echo "gdm:x:113:">>/etc/group echo "gdm:x:106:113:Gnome Display Manager:/var/lib/gdm:/bin/false" >>/etc/passwd + +echo -e "# /etc/gdm/gdm.conf - file generated by $0\n\ + +[daemon] +AutomaticLoginEnable=false +AutomaticLogin= +TimedLoginEnable=false +TimedLogin= +TimedLoginDelay=30 +Greeter=/usr/lib/gdm/gdmgreeter +DefaultPath=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games +RootPath=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games +User=gdm +Group=gdm +LogDir=/var/log/gdm +PidFile=/var/run/gdm.pid +PostLoginScriptDir=/etc/gdm/PostLogin/ +PreSessionScriptDir=/etc/gdm/PreSession/ +PostSessionScriptDir=/etc/gdm/PostSession/ +DisplayInitDir=/etc/gdm/Init +XKeepsCrashing=/etc/gdm/XKeepsCrashing +RebootCommand=/sbin/shutdown -r now \"Rebooted from gdm menu.\" +HaltCommand=/sbin/shutdown -h now \"Halted from gdm menu.\" +SuspendCommand=/usr/sbin/pmi action sleep +HibernateCommand=/usr/sbin/pmi action hibernate +ServAuthDir=/var/lib/gdm +BaseXsession=/etc/gdm/Xsession +SessionDesktopDir=/etc/X11/sessions/:/etc/dm/Sessions/:/usr/share/gdm/BuiltInSessions/:/usr/share/xsessions/ +DefaultSession=default.desktop +UserAuthDir= +UserAuthFBDir=/tmp +UserAuthFile=.Xauthority +StandardXServer=/usr/X11R6/bin/X +Xnest=/usr/X11R6/bin/Xnest -br -audit 0 -name Xnest +FirstVT=7 +VTAllocation=true +SoundProgram=/usr/lib/gdmplay +[security] +AllowRoot=false +AllowRemoteRoot=false +AllowRemoteAutoLogin=false +RelaxPermissions=0 +CheckDirOwner=true +DisallowTCP=true +[xdmcp] +Enable=false +[gui] +GtkTheme=Human +AllowGtkThemeChange=true +GtkThemesToAllow=Human,HighContrast,HighContrastInverse,LowContrast +[greeter] +ConfigAvailable=false +Browser=true +MinimalUID=1000 +Exclude=bin,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,gdm,postgres,pvm,rpm +IncludeAll=true +LocaleFile=/etc/gdm/locale.conf +SystemMenu=true +SecureSystemMenu=false +DefaultWelcome=true +DefaultRemoteWelcome=true +BackgroundColor=#523921 +UseCirclesInEntry=true +GraphicalTheme=Human +GraphicalThemeDir=/usr/share/gdm/themes/ +GraphicalThemeRand=false +SoundOnLogin=true +SoundOnLoginFile=/usr/share/sounds/question.wav +[chooser] +HostImageDir=/usr/share/hosts/ +Hosts= +Broadcast=true +Multicast=false +[debug] +Enable=false +[servers] +0=Standard +[server-Standard] +name=Standard server +command=/usr/X11R6/bin/X -br -audit 0 +flexible=true +[server-Terminal] +name=Terminal server +command=/usr/X11R6/bin/X -br -audit 0 -terminate +flexible=false +handled=false +[server-Chooser] +name=Chooser server +command=/usr/X11R6/bin/X -br -audit 0 +flexible=false +chooser=true + + + +[debug] +Enable=$debug" >/mnt/etc/gdm/gdm.conf + +if [ "x$start_x" = "xindirect" ] ; then + # when X server consumes to much mem set X -terminate + echo -e "\n[servers]\n0=Terminal -audit 0 -indirect \ +$host_name\n\n\ +[server-Terminal]\nname=Terminal server\ncommand=/usr/X11R6/bin/X \ +-audit 0\n\ +flexible=true\nhandled=true\nchooser=true" >>/mnt/etc/opt/gnome/gdm/gdm.conf +else + echo -e "\n[servers]\n0=Standard\n\n\ +[server-Standard]\nname=Standard server\ncommand=/usr/X11R6/bin/X\n\ +flexible=true\nhandled=true" >>/mnt/etc/opt/gnome/gdm/gdm.conf +fi } # configure kdm as display manager @@ -198,16 +315,6 @@ if [ "x$start_dreshal" = "xyes" ]; then fi } -# configure automounter -config_automount () { -: -} - -# configure bluetooth services -config_bt () { -: -} - # initialize boot.ld - skript to be executed during early system startup # (before most of the normal boot init scripts) # this script should operate like a normal runlevel script (fixme!!) @@ -232,11 +339,6 @@ rerun\n# the mkdxsinitrd script to get them applied" \ esac } -# start name service caching daemon -config_nscd () { -: -} - # fixme!! taken from SuSE10.0 untested here ... # prepare virtual machine environment (vmware, vmplayer) config_vmware () { |
