diff options
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-5.10')
-rw-r--r-- | initramfs/distro-specs/ubuntu/functions-5.10 | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-5.10 b/initramfs/distro-specs/ubuntu/functions-5.10 deleted file mode 100644 index 70b8fb1e..00000000 --- a/initramfs/distro-specs/ubuntu/functions-5.10 +++ /dev/null @@ -1,72 +0,0 @@ -# configuration script for Ubuntu V5.10 to configure OpenSLX linux diskless -# clients (merged in stage2 with ubuntu/functions-default - and loaded within -# initial ramfs - stage3) It may overwrite settings from the default config -# file (/etc/functions) -# -# Dirk von Suchodoletz <dvs@OpenSLX.com>, 31-08-2006 -# Nico Dietrich -# Felix Endres -# -# (c) 2006 - RZ Universitaet Freiburg -# (c) 2006 - OpenSLX.ORG Project - - -# syslog service -config_syslog () { -if [ "x$start_syslog" = "xyes" ] ; then - 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 -} - -# secure shell service -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 -} - -# snmp agent for remote monitoring -config_snmp () { -if [ "x$start_snmp" = "xyes" ] ; then - if [ -f /mnt/etc/init.d/snmpd ] ; then - rllinker "snmpd" "24" "02" - testmkd /mnt/var/lib/net-snmp >/dev/null 2>&1 - fi - # fixme!! - # write service monitor depending on services started -fi -} - -# consolefont -consolefont () { -echo -e "setfont ${CONSOLE_FONT} >${LOGFILE} 2>&1" \ - >>/mnt/etc/${D_INITDIR}/boot.slx -} -# acpi and powersave -config_acpi () { - rllinker "acpid" "02" "19" - rllinker "acpi-support" "20" "02" -} - -# configure hal, dbus, resmgr and services like that -# fixme: complete or remove (dummy function is present in /etc/functions) -config_dreshal () { -if [ "x$start_dreshal" = "xyes" ]; then - : -fi -} |