summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs
diff options
context:
space:
mode:
authorNico Dietrich2006-01-26 22:59:47 +0100
committerNico Dietrich2006-01-26 22:59:47 +0100
commit3bd54055f8885dfe17639fca06c772ff6c4ec3a2 (patch)
treea8206d0430aa6f3f34a56da8b9b16d785a5a5981 /initrd/distro-specs
parenthal and haldaemon differences in SuSE 9.3 and 10. Do not give start and (diff)
downloadcore-3bd54055f8885dfe17639fca06c772ff6c4ec3a2.tar.gz
core-3bd54055f8885dfe17639fca06c772ff6c4ec3a2.tar.xz
core-3bd54055f8885dfe17639fca06c772ff6c4ec3a2.zip
einige bugfixes
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@44 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs')
-rw-r--r--initrd/distro-specs/suse/functions-10.04
-rw-r--r--initrd/distro-specs/suse/functions-9.312
-rw-r--r--initrd/distro-specs/ubuntu/functions-5.1010
3 files changed, 13 insertions, 13 deletions
diff --git a/initrd/distro-specs/suse/functions-10.0 b/initrd/distro-specs/suse/functions-10.0
index eee06b52..449a552b 100644
--- a/initrd/distro-specs/suse/functions-10.0
+++ b/initrd/distro-specs/suse/functions-10.0
@@ -15,8 +15,8 @@
config_acpi () {
local start_acpi=10
local stop_acpi=12
-local start_powersave=`expr $1 + 5`
-local stop_powersave=`expr $1 - 1`
+local start_powersave=11
+local stop_powersave=11
rllinker acpid "$start_acpi" "$stop_acpi"
rllinker powersaved "$start_powersave" "$stop_powersave"
}
diff --git a/initrd/distro-specs/suse/functions-9.3 b/initrd/distro-specs/suse/functions-9.3
index 88fa7f59..f9d2ef63 100644
--- a/initrd/distro-specs/suse/functions-9.3
+++ b/initrd/distro-specs/suse/functions-9.3
@@ -35,8 +35,8 @@ done
# second stop
# function for ntp configuration
config_ntp () {
-local start=$1
-local stop=$2
+local start="07"
+local stop="14"
if [ -f /mnt/etc/init.d/ntp ] ; then
strinfile "ntp:" /mnt/etc/passwd || \
echo -e "ntp:x:74:65534:NTP daemon:/var/lib/ntp:/bin/false" \
@@ -56,7 +56,7 @@ fi
# function for atd
config_atd () {
if [ "x$start_atd" = "xyes" ]; then
- rllinker "atd" "$1" "$2"
+ rllinker "atd" "14" "04"
fi
}
@@ -88,7 +88,7 @@ if [ "x$start_syslog" = "xyes" ] ; then
sed -e "s,.*dhcp/dev.*,," -e "s,.*named/dev.*,," \
/mnt/etc/syslog-ng/syslog-ng.conf >> /etc/syslog-ng.conf
cp /etc/syslog-ng.conf /mnt/etc/syslog-ng/syslog-ng.conf
- rllinker syslog "$1" "$2"
+ rllinker syslog "02" "20"
fi
fi
}
@@ -98,7 +98,7 @@ config_sshd () {
if [ "x$start_sshd" = "xyes" ] ; then
if [ -f /mnt/etc/init.d/sshd ] ; then
testmkd /mnt/var/lib/sshd; testmkd /mnt/var/lib/empty
- rllinker "sshd" "$1" "$2"
+ rllinker "sshd" "12" "10"
fi
fi
}
@@ -107,7 +107,7 @@ fi
config_snmp () {
if [ "x$start_snmp" = "xyes" ] ; then
if [ -f /mnt/etc/init.d/snmpd ] ; then
- rllinker "snmpd" "$1" "$2"
+ rllinker "snmpd" "24" "02"
testmkd /mnt/var/lib/net-snmp >/dev/null 2>&1
fi
# fixme!!
diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10
index 02d696f1..48b7cd9b 100644
--- a/initrd/distro-specs/ubuntu/functions-5.10
+++ b/initrd/distro-specs/ubuntu/functions-5.10
@@ -34,8 +34,8 @@ done
# second stop
# function for ntp configuration
config_ntp () {
-local start=$1
-local stop=$2
+local start=07
+local stop=14
if [ -f /mnt/etc/init.d/ntp ] ; then
echo -e "ntp:x:74:65534:NTP daemon:/var/lib/ntp:/bin/false" \
>>/mnt/etc/passwd
@@ -54,7 +54,7 @@ fi
# function for atd
config_atd () {
if [ "x$start_atd" = "xyes" ]; then
- rllinker "atd" "$1" "$2"
+ rllinker "atd" "14" "04"
fi
}
@@ -87,7 +87,7 @@ config_sshd () {
if [ "x$start_sshd" = "xyes" ] ; then
if [ -f /mnt/etc/init.d/sshd ] ; then
testmkd /mnt/var/lib/sshd; testmkd /mnt/var/lib/empty
- rllinker "sshd" "$1" "$2"
+ rllinker "sshd" "12" "10"
fi
fi
}
@@ -96,7 +96,7 @@ fi
config_snmp () {
if [ "x$start_snmp" = "xyes" ] ; then
if [ -f /mnt/etc/init.d/snmpd ] ; then
- rllinker "snmpd" "$1" "$2"
+ rllinker "snmpd" "24" "02"
testmkd /mnt/var/lib/net-snmp >/dev/null 2>&1
fi
# fixme!!