diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-08-05 14:29:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-08-05 14:29:16 +0000 |
commit | 31de738c99ce16ee26595d7bf2d6e9500a5a10b1 (patch) | |
tree | 30cb27258fcac641440869517e35e28f29177eb1 /make_ks_from_floppy | |
parent | f093421759947c0e1020139c8b0bdb057105c074 (diff) | |
download | drakx-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar drakx-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar.gz drakx-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar.bz2 drakx-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.tar.xz drakx-31de738c99ce16ee26595d7bf2d6e9500a5a10b1.zip |
no_comment
Diffstat (limited to 'make_ks_from_floppy')
-rwxr-xr-x | make_ks_from_floppy | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/make_ks_from_floppy b/make_ks_from_floppy index 2ab7dde95..0c2c48331 100755 --- a/make_ks_from_floppy +++ b/make_ks_from_floppy @@ -1,4 +1,10 @@ +#!/bin/sh + +ks="install/ks.cfg" + +[ -e $ks ] || { echo "missing file $ks, create one based on $ks.default"; exit 1; } + sudo mount /mnt/floppy -cp -f install/installinit/ks.cfg /mnt/floppy +cp -f $ks /mnt/floppy perl -pi -e 's/prompt 1//; s/\s*kickstart=\S+//g; s/append/append kickstart=auto_inst.cfg.pl/' /mnt/floppy/syslinux.cfg sudo umount /mnt/floppy |