-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/23/2012 03:57 PM, F.Baghery wrote:
> Hello,
>
> I copied my script in /opt/drbl/share/drbl/postrun/ and tested by
run-parts --test /opt/drbl/share/drbl/postrun and it returned my script
and without --test ran it.
> I ran ocs-live and continued it in export mode -> recovery-iso-zip ->
Select image -> ask_user -> and mark -o1 (postrun switch) and to end.
> The problem starts here, after restoring of image, postrun
notification comes(yellow message) but my script doesn't run and
/opt/drbl/share/drbl/postrun is empty!
> Furthermore I did chmod +x or chmod 755, but It doesn't work.
Yes, that's an issue.
The way Clonezilla creates such a recovery iso is to use the original
filesystem.squashfs from the normal copy of Clonezilla live. In your
case, it's more complicated.
You can try to put your postrun script in filesystem.squashfs by:
http://drbl.org/faq/fine-print.php?path=./2_System/81_add_prog_in_filesystem-squashfs.faq#81_add_prog_in_filesystem-squashfs.faq
then replace it.
Steven.
>
> Farhad
>
>
>
------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
>
>
> _______________________________________________
> Clonezilla-live mailing list
> Clonezilla-live@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clonezilla-live
- --
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlCSe24ACgkQCLPj15didVqo9wCcCkL/Atdwnobg7Fd0UQMpmCvS
uc8An2lfXHoKTcUqYdByf3EKGJRjmVLl
=wOgN
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Clonezilla-live mailing list
Clonezilla-live@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clonezilla-live