The dir /etc/ocs/ocs-live.d/ is actually in the file "filesystem.squashfs", so you'd better to unsquashfs it, put your script in the dir, then mksquashfs it again. Or another possibility is, you use "toram" only, then after booting the dir /pkg/ will be copied to the running system, then you use ocs_prerun boot parameter to copy the file in /pkg/ to /etc/ocs/ocs-live.d/. It should work. Ref: http://clonezilla.org/fine-print-live-doc.php?path=clonezilla-live/doc/99_Misc/00_live-boot-parameters.doc
Steven. On 05/30/2013 05:05 PM, Nils Garcia wrote: > I use one custom script with clonezilla live (usb). > ocs_live_run="custom-ocs" and my custom-ocs script file in /pkg > It's ok ! > > But if I want to use it in to RAM, toram=filesystem.squashfs, this don't > work : > > The jobs in /etc/ocs/ocs-live.d/ are finished. Start "custom-ocs" now. > /usr/sbin/ocs-live-run-menu: line 106: custom-ocs: command not found > "custom-ocs" is finished. > > I try with "toram" only, but it's the same. > > > > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > > > _______________________________________________ > 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: 4096R/47CF935C Fingerprint: 0240 1FEB 695D 7112 62F0 8796 11C1 12DA 47CF 935C ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ Clonezilla-live mailing list Clonezilla-live@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clonezilla-live