diff options
author | Dirk von Suchodoletz | 2009-07-19 15:45:35 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-07-19 15:45:35 +0200 |
commit | ec845af0e4bc9735cb3c7212e02c4c341260fc27 (patch) | |
tree | a877d278b32324cc371e0c24f857fdb20152719a /initramfs/distro-specs/scilin/functions-default | |
parent | Updating several stage3 scripts, e.g. for the cifs mounting ... (diff) | |
download | core-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/scilin/functions-default')
-rw-r--r-- | initramfs/distro-specs/scilin/functions-default | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/initramfs/distro-specs/scilin/functions-default b/initramfs/distro-specs/scilin/functions-default index e520e35c..e650940b 100644 --- a/initramfs/distro-specs/scilin/functions-default +++ b/initramfs/distro-specs/scilin/functions-default @@ -302,6 +302,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 "\t;;\n stop)\n\t;;\nesac" \ >>/mnt/etc/init.d/${name} |