summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-21 13:13:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-21 13:13:50 +0000
commit548f2b03f133e1dd9c3cd8aaf35b7dadde577948 (patch)
tree8a43dfd7e9b49b22184262f6b91d93c67d96fd9b /rescue
parent630f877f0ac0fe5f447a53bb76baba5e1d3aa0bb (diff)
downloaddrakx-backup-do-not-use-548f2b03f133e1dd9c3cd8aaf35b7dadde577948.tar
drakx-backup-do-not-use-548f2b03f133e1dd9c3cd8aaf35b7dadde577948.tar.gz
drakx-backup-do-not-use-548f2b03f133e1dd9c3cd8aaf35b7dadde577948.tar.bz2
drakx-backup-do-not-use-548f2b03f133e1dd9c3cd8aaf35b7dadde577948.tar.xz
drakx-backup-do-not-use-548f2b03f133e1dd9c3cd8aaf35b7dadde577948.zip
factorize
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/make_partimage_save_rest_all8
1 files changed, 5 insertions, 3 deletions
diff --git a/rescue/make_partimage_save_rest_all b/rescue/make_partimage_save_rest_all
index 93c4e463f..609ee60b2 100755
--- a/rescue/make_partimage_save_rest_all
+++ b/rescue/make_partimage_save_rest_all
@@ -24,6 +24,8 @@ PARTIMAGE_DIR="$where" PARTIMAGE_RPM=$rpm DISTRIB_DESCR="partimage save/restore
mkdir -p .tmp/install/stage2
mv -f rescue.clp .tmp/install/stage2
+common_para="rescue automatic=method:cdrom"
+
for action in save_all rest_all; do
cat <<EOF > .tmp/isolinux/isolinux.cfg
@@ -33,13 +35,13 @@ timeout 150
label save_all
kernel vmlinuz
- append initrd=all.rdz rescue save_all automatic=method:cdrom
+ append initrd=all.rdz $common_para save_all
label rest_all
kernel vmlinuz
- append initrd=all.rdz rescue keepmounted rest_all automatic=method:cdrom
+ append initrd=all.rdz keepmounted rest_all
label rescue
kernel vmlinuz
- append initrd=all.rdz rescue automatic=method:cdrom
+ append initrd=all.rdz
EOF
if [ $action = rest_all ]; then