Skip to content

Hooks for custom scripts #366

@avefrandsen

Description

@avefrandsen

It would be nice if I could put script files on the bootable drive and have them automatically run at certain milestones, without making a custom bootable

I imagine this would either be a set of folders, one for each event, or a syntax in the configuration file. I set up a bash file, ShredOS runs it at the right point, and waits before moving on to the next step.

Off hand, before and after scripts would be great and I'm not confident any other position exists. NWipe itself could offer some finer steps, but I'm not sure if they would be worth it.

  • A specific thing I'd like to do is attach to the wifi after the wipe and upload the records. My station is currently in a very inconvenient location for networking and that's a me problem.
  • I'm interested in comparing SMART data before and after a run to identify drives that degraded in the process. Not sure if that will pan out.
  • I could make an offloading process where SCSI enclosure lights are used to designate categories of drives, instead of associating drives with their outcomes later.
  • In the same I could, hypothetically, pre-screen drives and use enclosure lights to reject drives before the run, maximizing utilization. I might need a degree in linux to achieve that though.

Mainly what this feature would enable is niche enduser customization that doesn't make sense as part of the ShredOS project, without needing to spin up and maintain a custom build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions