summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-06-13 13:14:24 +0000
committerOlivier Blin <oblin@mandriva.com>2008-06-13 13:14:24 +0000
commitc41e95711d12ccbc49efaf03c8f40d81b2a92b1e (patch)
tree11c2eb9ebff6f29153ee9a6df3fc462b31697142 /rescue
parentf99e550ba2f82d6278f88365b2911f3869e06352 (diff)
downloaddrakx-c41e95711d12ccbc49efaf03c8f40d81b2a92b1e.tar
drakx-c41e95711d12ccbc49efaf03c8f40d81b2a92b1e.tar.gz
drakx-c41e95711d12ccbc49efaf03c8f40d81b2a92b1e.tar.bz2
drakx-c41e95711d12ccbc49efaf03c8f40d81b2a92b1e.tar.xz
drakx-c41e95711d12ccbc49efaf03c8f40d81b2a92b1e.zip
pass partimage server on the command line
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/make_partimage_save_rest_all7
1 files changed, 4 insertions, 3 deletions
diff --git a/rescue/make_partimage_save_rest_all b/rescue/make_partimage_save_rest_all
index e799ad99e..02d5adaa4 100755
--- a/rescue/make_partimage_save_rest_all
+++ b/rescue/make_partimage_save_rest_all
@@ -1,11 +1,12 @@
#!/bin/sh
[ $# -lt 1 ] && {
- echo "usage: make_partimage_save_rest_all <partimage special rpm> [<partimage dir> <data dirs>]" ;
+ echo "usage: make_partimage_save_rest_all <partimage special rpm> <partimage server> [<partimage dir> <data dirs>]" ;
exit 1
}
rpm=$1 ; shift
+server=$1 ; shift
partimage_dir=$1 ; shift
data_dir=$1 ; shift
@@ -42,10 +43,10 @@ timeout 150
label save_all
kernel vmlinuz
- append initrd=all.rdz $common_para save_all
+ append initrd=all.rdz $common_para save_all pserver=$server
label rest_all
kernel vmlinuz
- append initrd=all.rdz $common_para rest_all keepmounted BOX=$data_dir
+ append initrd=all.rdz $common_para rest_all keepmounted BOX=$data_dir pserver=$server
label rescue
kernel vmlinuz
append initrd=all.rdz $common_para