sysresccd-usbstick dialog

Post there if you plan to contribute to this SystemCd
falk
Posts: 13
Joined: 01 Mar 2010, 16:20

sysresccd-usbstick dialog

Postby falk » 10 Mar 2010, 08:44

i make a little dialog-patch for sysresccd-usbstick.
Call: sysresccd-usbstick dialog

ist make a little dialog with all usb-sticks.
With every selected it make:
* sysresccd-usbstick writembr /dev/sdX
* sysresccd-usbstick format /dev/sdXY
* sysresccd-usbstick copyfiles /dev/sdXY
* sysresccd-usbstick syslinux /dev/sdXY

What do you think about this idea?
Please test it :-)

Thanks, Falk

Here the modified sysresccd-usbstick:
1. Save as File (like sysresccd-usbstick.gz.uue)
2. uudecode sysresccd-usbstick.gz.uue
3. gunzip sysresccd-usbstick.gz

Code: Select all

begin-base64 644 sysresccd-usbstick.gz
H4sIAAycjUsCA+1abXPbuBH+bP6KtaKepFyoF19yc+NEuSZ+yXkmdjxW0k7r
8/koEpJYk4RCkLYVR/+9uwAIgpTkONdrO+2cPyQSsFgs9uXZXUCPtnvjMOmN
PTFzHsFpyv/B/Azm3pTtwizL5ru93s3NTVcsRMqE7wddnk57SNne68BOv/8D
HKZe4vNQwH4+5/ktTr2f4Tfhh/MM8IN37YWRN44Y5EnAUshmDN6cvnV3IAp9
lgjm4JIwg9hbgBcJDmMGYZIx3C4LkylkHPAjy+TC49dnSB0EEE6GvVykvSgc
91C2KEzy2148Trt4GOA4GbDrnggmyPwR/HTw9hRenezD61ejoz14dfbmw/HB
yXs4PXu3dzAaHZ28QaoH/JGkcZiEsReBCD8xFOxjHqYsgAlPwagIxYeYTT13
vMiYcI6PTkZHfz84fj38rt93nFygbtsd587Z8r0MXrw4eHfomLVuLsZ4bv9q
F0YLkbH4DIdztkdMReZFkZeFPEHtpqRe2vbD6LUrVwhntEgy73YX7L9VzvDC
53HsJcFL6Ha7jnMaMU+wJ3gYL5BKxrkcT0jMZyyagzfmeQYzfkO2yAVDImlg
EqHrbHSSdwlahbnHkpt7cOK8L5dBnIuMLM1umZ9nqEHcQoQBQ9tJG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ym6yIBlzM/I26yjiG35fhcMrWe8NUPl
hsNnWPg+VNi1NlUZpCD9FxLIShYveK4mcRMdD87hVjzVM7iZssF6PUAaUkrV
FXScYyvj0U8i7gHHUgbp3epuUi5bhUjUavXCb22jSQmAGi+MAL8nCUXZVkHj
F9OGNb6qrVIv32rH6EawiMkXomHD+tLNbun50ppsyA6seCVR+D73spnM92Vr
+Li86isulMr7Ur1EXiSV/ZxM4PZZrPvQsvsyBFYiKB/Y1l6TlYRfvuWqCiEF
3HrgZRexx9FYTIcN2ULRt2H16kdej1DO2aL/lMOs7Rl12NPVNU6oa4El3SNR
h69uwswNA/ajal+ptC/eIlvq2CwA8ter5QrtRV9YYUonvYqCj/5dff+zuhNF
Uj52/dgwJq29jm3r57EHHoGit/JSuQv2I53FWbuG8fGm+Wx3UdZHPsGyZI1e
dGEUBgzri8kCypZb/55G/cSowtfSlA4s9DD1aeV9r9CKmi4fDGsAdsKtazLT
bxQ+1S0Rq/jxi+uOPf8KhcQ6rTGShwfzI5cG1Qn1H8i4roR7+XujNSt2+vD9
AJ7JCqNYYmnVHt552bQAR9s+wwpXNrHW1HMwRifc0frbIeD5Vd5kWbRAN5op
Pdr8TJebAiu5X5+DRCQ8dXmlVNphZ6m8IGIIq8/ULvc6rl5QfLNegHeW2om3
TFu8usxqx9ZNWumqnNOTCStcxmC5/lmYuSH7A5//wOf/L3z+X0Va/bTzCI5f
HZ3A6KeDt2/Nz3S+5rc4tR/m7L07Pn51sk+oM8CDiVk4yRyfamEc0ZModYii
amyg85VIgV+eP3e2ChzUkwYWG80/NzSJAjBNoNHMmjYopilKVLOITI3vVMHN
IlGpSBPovGRNP6YZ+YM1IOWrXz7JKSY835EDfeefQ19NFfAtAAA=
====

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Re: sysresccd-usbstick dialog

Postby admin » 14 Mar 2010, 20:15

Thanks for your contribution, the modified sysresccd-usbstick is in the latest SystemRescueCd-1.5.0-beta version.

falk
Posts: 13
Joined: 01 Mar 2010, 16:20

Re: sysresccd-usbstick dialog

Postby falk » 15 Mar 2010, 16:40

i made two little changes

1. use mktemp for temporary file and delete it after use
2. the dialog a little bit nicer

Thanks for the power of SystemRescueCD
Falk

Here the Script from SystemRescueCD 1.5.0 beta 9 with my changes:

Code: Select all

begin-base64 744 sysresccd-usbstick.gz
H4sICJFknksCA3N5c3Jlc2NjZC11c2JzdGljawDtWutz2zYS/2z+FWtFV0lp
qIebdDpOlLvEsVPPxI7HSu7luC5FQhLPfKgEaUdx9L/f7gIEQUl2nF7vbu6m
/pBIwGKx2MdvdwE92O6Nw6Q39uTMeQAnWfoP4ecw96ZiF2Z5Pt/t9a6vr7ty
ITMhfT/optm0h5TtvQ7s9Ps/wEHmJX4aSnhVzNPiI069m+E36YfzHPCDd+WF
kTeOBBRJIDLIZwJen7xxdyAKfZFI4eCSMIfYW4AXyRTGAsIkF7hdHiZTyFPA
jyLnhUcvT5E6CCCcDHuFzHpROO6hbFGYFB978Tjr4mEgxclAXPVkMEHmD+DH
/Tcn8OL4Fbx8MTrcgxenr98f7R+/g5PTt3v7o9Hh8WukuscfSRqHSRh7Ecjw
k0DBfinCTAQwSTMwKkLxIRZTzx0vciGdo8Pj0eHf949eDr/r9x2nkKjbdse5
cbZ8L4dnz/bfHjhmrVvIMZ7bv9yF0ULmIj7F4ULsEVOZe1Hk5WGaoHYzUi9t
+3700uUV0hktktz7uAv23zpneOancewlwXPodruOcxIJT4pHeBgvYCXjXIEn
JOYzEc3BG6dFDrP0mmxRSIFEbGASoevc6iRvE7SKcI+Ym7t/7LyrlkFcyJws
LT4Kv8hRg7iFDAOBtmMZ/FmWpjmI5CrM0iQWCe7k7Cm5JbT1MtJ0PkMtphm6
VmfXgUEH3UrmaH2o/41YfuRM07RLJuL0iv0yFkHoObDTgessRJWPM3iGDBIv
Fs9p6anwUTe5KD0QvsX4yPKQLZEzC/qAk6xfB77rkPJisi4RGkZwoEaJ1JgN
cCsMBGinVyJjASSGg4TAy72OA4874Kf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d92x519imYJA
3xjxNJiX8gZOs3PwLxQ2TO/04fsBPGlxl1c+xqjUMffyGdcUVfv5sLpOLC+t
qmtZvYQvq6qekcsDW03WtWvV4RkCK8dU73gbr+Iqwi/fpNWFYAG37nmhRuxx
NJbTYYPbNPo2rF8v8RUMpbMt+k/54sa+VCMK3ZDjhLp6WNJdFd0iqNs2c4uB
Pa/al5X2xctqSx23C4D89WpeoR30CytMYaZXUVzTv+vPjFYHpEiqN7U/NoxJ
Vx7htvUr3D2PQMBQexDdBfst0OKsXcPEVtN8hg+W7j408Cv+k04mm5SiC64w
EFi3TBZQ9fT6tzrq50u1w1tq0lGF7qU+rb0hlipR09Wj5AowHqfWPZxpaEqH
6lpIiFkArKPuPG9aOKKNkGMhyx2rNfUUjPYJAPRZdggBfuZrK4sW6Poyo0ea
D3STKbFa+/kpMDTgkav7o0onO0tljkggdD5Ru9zpQXpB+c168d1Zam/aMj3w
+jKr99o0aaWkak5PJqI0H99lxvwkYutQYbj+SZi5IvsdPH8Hz/8v8PxfRUL9
tvMAjl4cHsPox/03b8xPdb7m9zgrP87Ze3t09OL4FSHRAA8mZ+Ekd3yqgXFE
T6LUIYqqsYHOVyEFfnn61NkqsVFPGqhsNP/U0CQK1DSBRjhr2iCbpqiQziIy
tb1TBzyLRBWQmkBXk9b0Q5rhH6sBKV/9+omnhPR8hwf6zj8BywYpXOwtAAA=
====

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Re: sysresccd-usbstick dialog

Postby admin » 15 Mar 2010, 19:33

Thanks for your update


Return to “Contributions”

Who is online

Users browsing this forum: No registered users and 3 guests