summaryrefslogtreecommitdiffstats
path: root/rescue/make_rescue_img
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-11-10 15:21:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-11-10 15:21:20 +0000
commitbd2f569f55e0992bf7c328b3ddd69a5a9bc91bec (patch)
tree432d229bedddc549774b5becb3b1ea9d4c6539ee /rescue/make_rescue_img
parent16de965acc36dabc66b9df213d140c4d4850109e (diff)
downloaddrakx-backup-do-not-use-bd2f569f55e0992bf7c328b3ddd69a5a9bc91bec.tar
drakx-backup-do-not-use-bd2f569f55e0992bf7c328b3ddd69a5a9bc91bec.tar.gz
drakx-backup-do-not-use-bd2f569f55e0992bf7c328b3ddd69a5a9bc91bec.tar.bz2
drakx-backup-do-not-use-bd2f569f55e0992bf7c328b3ddd69a5a9bc91bec.tar.xz
drakx-backup-do-not-use-bd2f569f55e0992bf7c328b3ddd69a5a9bc91bec.zip
partimage_whole_disk takes care of configuring network when needed
Diffstat (limited to 'rescue/make_rescue_img')
-rwxr-xr-xrescue/make_rescue_img4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img
index 08e35e937..a7d690101 100755
--- a/rescue/make_rescue_img
+++ b/rescue/make_rescue_img
@@ -98,13 +98,13 @@ if ($ENV{PARTIMAGE_RPM}) {
substInFile {
$_ = <<EOF if /^\s*rescue-gui/;
if grep -q save_all /proc/cmdline; then
- drvinst NETWORK ; dhcp-client ; partimage_whole_disk -s $server save_all $default_dir
+ partimage_whole_disk -s $server save_all $default_dir
fi
if grep -q rest_all /proc/cmdline; then
if [ -d $local_dir ]; then
partimage_whole_disk rest_all $local_dirs
else
- drvinst NETWORK ; dhcp-client ; partimage_whole_disk -s $server rest_all $partimage_dir
+ partimage_whole_disk -s $server rest_all $partimage_dir
fi
fi
EOF