[rear-users] adding a script to the skel bin

Gratien D'haese gratien.dhaese at it3.be
Tue Jul 29 16:08:47 CEST 2014

 On Mon, 07 Jul 2014 23:49:41 -0500, Pradeep Nambiar <pradeep at pexus.com> 
> Hello,
> I want to find out the best way to add a script to the  recovery 
> image..
> The files available in the recovery image is sourced from the
> /usr/share/rear/skel/*
> What is the best way to add a file to the /usr/share/rear/skel/bin so
> that a script is available during the recovery stage.
> I can copy a custom file into the /usr/share/rear/skel/bin, but 
> wanted
> to find out if there is a recommended way to add a script to the
> recovery image.
> Any help appreciated.
> Thanks in advance.

 The preferred way is to add the following in /etc/rear/local.conf (or 
 PROGS=( ${PROGS[@]} path/your_script )

 Gratien D'haese
 IT3 Consultants bvba
 Vennestraat 15, B-2560 Nijlen

More information about the rear-users mailing list