Author: shadzik
Date: Thu Jan 20 14:18:43 2011
New Revision: 12061

Added:
   PLDLiveInstaller/trunk/scripts/sfdisk_helper   (contents, props changed)
Log:
- do it the way around, stupid shell helper


Added: PLDLiveInstaller/trunk/scripts/sfdisk_helper
==============================================================================
--- (empty file)
+++ PLDLiveInstaller/trunk/scripts/sfdisk_helper        Thu Jan 20 14:18:43 2011
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+export PATH
+
+if [ "$#" -lt "2" ]; then
+       echo "Usage: $0 <device> <scheme>"
+       exit 1
+fi
+
+device=$1
+scheme=$2
+
+sfdisk -qf -uM $device < $scheme
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to