Menu

Custom-ocs bash menu questoin

Help
gregs
2008-04-17
2013-04-05
  • gregs

    gregs - 2008-04-17

    I've gone through google trying to find this answer, but can't seem to get it working.  I'm creating a custom-ocs much like the sample, but I want to be able to display a list of images already saved in the restore option.  The Full Clonezilla live does this now, but I couldn't track down through the many script files how this was accomplished.  What is the dialog --menu syntax used to get this to work to display the directory content of images? Thanks
    Greg

     
    • Steven Shiau

      Steven Shiau - 2008-04-17

      You can check the function get_existing_disk_image in /opt/drbl/sbin/ocs-functions.
      However, maybe it's easier you can try to use the command "/opt/drbl/sbin/ocs-sr -x" with some more input parameters. For more info about the parameters, check "/opt/drbl/sbin/ocs-sr --help".

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.