summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-07-19 17:09:19 +0200
committerDirk von Suchodoletz2009-07-19 17:09:19 +0200
commitdfc4909b39ccd5542e424b9af8497459c25bf90c (patch)
tree79c0599dccb92953d65426ebfd8d84a160a7b183 /initramfs/distro-specs
parentFix of uclibc-wrapper (check for directories). (diff)
downloadcore-dfc4909b39ccd5542e424b9af8497459c25bf90c.tar.gz
core-dfc4909b39ccd5542e424b9af8497459c25bf90c.tar.xz
core-dfc4909b39ccd5542e424b9af8497459c25bf90c.zip
Some small updates ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3024 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs')
-rw-r--r--initramfs/distro-specs/debian/functions-default3
-rw-r--r--initramfs/distro-specs/suse/functions-10.24
-rw-r--r--initramfs/distro-specs/suse/functions-default6
3 files changed, 6 insertions, 7 deletions
diff --git a/initramfs/distro-specs/debian/functions-default b/initramfs/distro-specs/debian/functions-default
index 0896360c..9877f493 100644
--- a/initramfs/distro-specs/debian/functions-default
+++ b/initramfs/distro-specs/debian/functions-default
@@ -184,8 +184,7 @@ config_snmp () {
# localization like consolefont and language
dlocale () {
# console font setting program not available in Debian 4!?
- echo -e "\t#setfont ${CONSOLE_FONT} >${LOGFILE} 2>&1" \
- >>/mnt/etc/init.d/boot.slx
+ d_mkrlscript entry boot.slx "#setfont ${CONSOLE_FONT} >${LOGFILE} 2>&1"
# fixme!! check for proper operation
# sed -e "s,LANGUAGE=.*,LANGUAGE=\"${LANG}\" # set within initramfs," \
# -e "s,LANG=.*,LANG=\"${LANG}\" # set within initramfs," \
diff --git a/initramfs/distro-specs/suse/functions-10.2 b/initramfs/distro-specs/suse/functions-10.2
index f7412fa6..39a9d31c 100644
--- a/initramfs/distro-specs/suse/functions-10.2
+++ b/initramfs/distro-specs/suse/functions-10.2
@@ -61,8 +61,8 @@ if [ "x$start_dreshal" = "xyes" ]; then
echo "haldaemon:!:103:" >> /mnt/etc/group
echo -n "" > /mnt/var/lib/PolicyKit/reload
# set permissions with userid
- echo -e "\tchown haldaemon:haldaemon /var/run/hal /var/cache/hald \
- 2>/dev/null" >>/mnt/etc/init.d/boot.slx
+ d_mkrlscript entry boot.slx "chown haldaemon:haldaemon /var/run/hal\
+ /var/cache/hald 2>/dev/null"
start=$(($start + 1))
stop=$(($stop - 1))
rllinker "haldaemon" $start $stop
diff --git a/initramfs/distro-specs/suse/functions-default b/initramfs/distro-specs/suse/functions-default
index 81f67e14..cb281f65 100644
--- a/initramfs/distro-specs/suse/functions-default
+++ b/initramfs/distro-specs/suse/functions-default
@@ -413,8 +413,8 @@ if [ "x$start_sshd" = "xyes" ] ; then
echo -e "sshd:!:13099:0:99999:7:::" >>/mnt/etc/shadow
fi
# set permissions with userid
- #echo -e "\tchown sshd:nogroup /var/run/sshd /var/lib/empty 2>/dev/null" \
- # >>/mnt/etc/init.d/boot.slx
+ #d_mkrlscript entry boot.slx "chown sshd:nogroup /var/run/sshd \
+ # /var/lib/empty 2>/dev/null"
rllinker "sshd" 25 10
else
error "$df_errsshd" nonfatal
@@ -472,7 +472,7 @@ fi
}
# set up localization like keytable and consolefont
dlocale () {
-echo -e "\t# entries added by $0: $date" >> /mnt/etc/init.d/boot.slx
+d_mkrlscript entry boot.slx "# entries added by $0: $date"
sed -e "s,KEYTABLE=.*,KEYTABLE=\"${KEYTABLE}\"," \
-i /mnt/etc/sysconfig/keyboard
d_mkrlscript entry boot.slx "#loadkeys ${KEYTABLE} >${LOGFILE} 2>&1"