summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/ubuntu/functions-default
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-07-19 15:45:35 +0200
committerDirk von Suchodoletz2009-07-19 15:45:35 +0200
commitec845af0e4bc9735cb3c7212e02c4c341260fc27 (patch)
treea877d278b32324cc371e0c24f857fdb20152719a /initramfs/distro-specs/ubuntu/functions-default
parentUpdating several stage3 scripts, e.g. for the cifs mounting ... (diff)
downloadcore-ec845af0e4bc9735cb3c7212e02c4c341260fc27.tar.gz
core-ec845af0e4bc9735cb3c7212e02c4c341260fc27.tar.xz
core-ec845af0e4bc9735cb3c7212e02c4c341260fc27.zip
Adding component to d_mkrlscript for distro-specific creation of entries,
e.g. to add a line to boot.slx: "d_mkrlscript entry boot.slx "uclibc-wrapper mount ..." git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3020 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r--initramfs/distro-specs/ubuntu/functions-default6
1 files changed, 4 insertions, 2 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default
index ee3a151e..f3882239 100644
--- a/initramfs/distro-specs/ubuntu/functions-default
+++ b/initramfs/distro-specs/ubuntu/functions-default
@@ -129,8 +129,7 @@ dlocale () {
# fixme -- use keytable setup script here
# echo -e "\t# entries added by $0: $date" >> /mnt/etc/init.d/boot.slx
sed "s/LANG.*/LANG=\"${LANG}\"/" -i /mnt/etc/default/locale
-#echo -e "\tsetfont ${CONSOLE_FONT} >${LOGFILE} 2>&1" \
-# >>/mnt/etc/init.d/boot.slx
+#d_mkrlscript entry boot.slx "setfont ${CONSOLE_FONT} >${LOGFILE} 2>&1"
}
# group of functions for the normal runlevels - first parameter is start
@@ -252,6 +251,9 @@ rerun\n# the mkdxsinitrd script to get them applied\n\n\
>>/mnt/etc/init.d/$name
chmod u+x /mnt/etc/init.d/$name
;;
+ entry)
+ echo -e "\t${info}" >>/mnt/etc/init.d/${name}
+ ;;
close)
echo -e "\tlog_end_msg 0\n\t;;\n stop)\n\t;;\nesac\nexit 0" \
>>/mnt/etc/init.d/$name