diff options
Diffstat (limited to 'initramfs/distro-specs/suse/functions-default')
-rw-r--r-- | initramfs/distro-specs/suse/functions-default | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/initramfs/distro-specs/suse/functions-default b/initramfs/distro-specs/suse/functions-default index d27d5623..81f67e14 100644 --- a/initramfs/distro-specs/suse/functions-default +++ b/initramfs/distro-specs/suse/functions-default @@ -475,10 +475,8 @@ dlocale () { echo -e "\t# entries added by $0: $date" >> /mnt/etc/init.d/boot.slx sed -e "s,KEYTABLE=.*,KEYTABLE=\"${KEYTABLE}\"," \ -i /mnt/etc/sysconfig/keyboard -echo -e "\t#loadkeys ${KEYTABLE} >${LOGFILE} 2>&1\n" \ - >>/mnt/etc/init.d/boot.slx -echo -e "\t#setfont ${CONSOLE_FONT} >${LOGFILE} 2>&1\n" \ - >>/mnt/etc/init.d/boot.slx +d_mkrlscript entry boot.slx "#loadkeys ${KEYTABLE} >${LOGFILE} 2>&1" +d_mkrlscript entry boot.slx "#setfont ${CONSOLE_FONT} >${LOGFILE} 2>&1" sed -e "s,RC_LANG=.*,RC_LANG=\"${LANG}\" # added in initrd," \ -i /mnt/etc/sysconfig/language } @@ -593,6 +591,9 @@ rerun\n# the mkdxsinitrd script to get them applied\n\ \"\$1\" in\n start)\n\techo -n \"$info\"" >>/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 "\trc_status -v\n\t;;\n stop)\n\t;;\nesac\nrc_exit" \ >>/mnt/etc/init.d/${name} |