summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-06-29 16:01:00 +0000
committerOlivier Blin <oblin@mandriva.com>2009-06-29 16:01:00 +0000
commit0abb7c44553fc196e7ab841a5e756c095ff68d81 (patch)
tree8f5f82200797c6dd18b62496665cfdf5a398ed27
parent358da9ee48e1f820bae7f54241ed661120bdb84c (diff)
downloaddrakx-backup-do-not-use-0abb7c44553fc196e7ab841a5e756c095ff68d81.tar
drakx-backup-do-not-use-0abb7c44553fc196e7ab841a5e756c095ff68d81.tar.gz
drakx-backup-do-not-use-0abb7c44553fc196e7ab841a5e756c095ff68d81.tar.bz2
drakx-backup-do-not-use-0abb7c44553fc196e7ab841a5e756c095ff68d81.tar.xz
drakx-backup-do-not-use-0abb7c44553fc196e7ab841a5e756c095ff68d81.zip
run /oem-rescue.sh if oem option is present on cmdline
-rw-r--r--rescue/NEWS1
-rwxr-xr-xrescue/tree/etc/rc.sysinit2
2 files changed, 3 insertions, 0 deletions
diff --git a/rescue/NEWS b/rescue/NEWS
index 3c5367c13..a1426750d 100644
--- a/rescue/NEWS
+++ b/rescue/NEWS
@@ -1,4 +1,5 @@
- add back dumpe2fs
+- run /oem-rescue.sh if oem option is present on cmdline
Version 1.15 - 12 June 2009, by Pascal Terjan
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
index bf8ffa13e..19d44d310 100755
--- a/rescue/tree/etc/rc.sysinit
+++ b/rescue/tree/etc/rc.sysinit
@@ -64,6 +64,8 @@ elif grep -q rest_all /proc/cmdline; then
else
partimage_whole_disk -s $partimage_server rest_all $partimage_dir
fi
+elif grep -q oem /proc/cmdline; then
+ /tmp/image/oem-rescue.sh
elif grep -q restore /proc/cmdline; then
/usr/sbin/restore-image.sh
elif grep -q kamethod /proc/cmdline; then