projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix return values in MySQL bootscript
[hvlinux.git]
/
stage1
/
create-config-files
diff --git
a/stage1/create-config-files
b/stage1/create-config-files
index
b206749
..
a4381db
100755
(executable)
--- a/
stage1/create-config-files
+++ b/
stage1/create-config-files
@@
-89,6
+89,13
@@
LC_COLLATE=C
LC_CTYPE=C
export PATH MANPATH LANG LC_COLLATE LC_CTYPE PS1 PS2 USER LOGNAME MAIL HISTFILESIZE HISTSIZE HOSTNAME EDITOR CFLAGS CXXFLAGS
LC_CTYPE=C
export PATH MANPATH LANG LC_COLLATE LC_CTYPE PS1 PS2 USER LOGNAME MAIL HISTFILESIZE HISTSIZE HOSTNAME EDITOR CFLAGS CXXFLAGS
+
+for script in /etc/profile.d/*.sh ; do
+ if [ -r ${script} ]; then
+ . ${script}
+ fi
+done
+
EOF
sed -i -e "s!_DEFAULT_EDITOR_!${DEFAULT_EDITOR}!g" ${LFS}/etc/profile
EOF
sed -i -e "s!_DEFAULT_EDITOR_!${DEFAULT_EDITOR}!g" ${LFS}/etc/profile