summaryrefslogtreecommitdiffstats
path: root/rescue/tree
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 /rescue/tree
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
Diffstat (limited to 'rescue/tree')
-rwxr-xr-xrescue/tree/etc/rc.sysinit2
1 files changed, 2 insertions, 0 deletions
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