projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e3756
)
Added support for reading /mnt/cdrom/cdupdate.sh if its executable on the livecd
author
Eric Edgar
<rocket@gentoo.org>
Fri, 22 Apr 2005 18:12:31 +0000
(18:12 +0000)
committer
Eric Edgar
<rocket@gentoo.org>
Fri, 22 Apr 2005 18:12:31 +0000
(18:12 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@191
67a159dc
-881f-0410-a524-
ba9dfbe2cb84
generic/linuxrc
patch
|
blob
|
history
diff --git
a/generic/linuxrc
b/generic/linuxrc
index 8d5976e5117aaa2fb87cd10353a6cc1e78db61a6..85c61ad5138a211f8a896e90a49a1538a0885d0a 100644
(file)
--- a/
generic/linuxrc
+++ b/
generic/linuxrc
@@
-486,6
+486,16
@@
else
mkdir -p /newroot/tmp/.initrd
fi
+if [ -x /newroot/mnt/cdrom/cdupdate.sh ]
+then
+ /newroot/mnt/cdrom/cdupdate.sh
+ if [ "$?" != '0' ]
+ then
+ echo "FAILED TO EXECUTE cdupdate.sh"
+ /bin/ash
+ fi
+fi
+
if [ "$0" = '/linuxrc' ]
then
[ ! -e /newroot/dev/console ] && mknod /newroot/dev/console c 5 1