/usr/local/jetapps/usr/share/rear/lib
# mountonly-workflow.sh # # "mount only" workflow for Relax-and-Recover # # This file is part of Relax-and-Recover, licensed under the GNU General # Public License. Refer to the included COPYING for full text of license. WORKFLOW_mountonly_DESCRIPTION="use ReaR as live media to mount and repair the system" WORKFLOWS+=( mountonly ) function WORKFLOW_mountonly () { # Adapt /etc/motd in the ReaR recovery system when 'rear mountonly' is running # to avoid the additional 'Run "rear recover" to restore your system !' message # that only makes sense as long as 'rear mountonly' was not ever started, # see https://github.com/rear/rear/issues/1433 # but do not (over)-write /etc/motd on the original system # which could happen in simulation mode via 'rear -s mountonly' # that simulates sourcing scripts in the Source function # but this WORKFLOW_recover function call is not simulated (cf. usr/sbin/rear) # see https://github.com/rear/rear/issues/1670 # and do not (over)-write /etc/motd in the recovery system in simulation mode # which results with the above to never (over)-write /etc/motd in simulation mode: if ! is_true "$SIMULATE" ; then # In the recovery system /etc/rear-release is unique (it does not exist otherwise) # cf. init/default/050_check_rear_recover_mode.sh test -f /etc/rear-release -a -w /etc/motd && echo -e '\nWelcome to Relax-and-Recover.\n' >/etc/motd fi SourceStage "setup" # 'check' stage is a minimal version of 'verify' that ignores all the # backup engines SourceStage "check" SourceStage "layout/prep-for-mount" SourceStage "layout/do-mount" SourceStage "final-mount" SourceStage "wrapup" }
.
Edit
..
Edit
.shellcheckrc
Edit
_input-output-functions.sh
Edit
array-functions.sh
Edit
authtoken-functions.sh
Edit
bareos-functions.sh
Edit
bootloader-functions.sh
Edit
borg-functions.sh
Edit
checklayout-workflow.sh
Edit
columns-functions.sh
Edit
config-functions.sh
Edit
drlm-functions.sh
Edit
dump-workflow.sh
Edit
filesystems-functions.sh
Edit
finalizeonly-workflow.sh
Edit
format-workflow.sh
Edit
framework-functions.sh
Edit
global-functions.sh
Edit
help-workflow.sh
Edit
hp_raid-functions.sh
Edit
layout-functions.sh
Edit
layoutonly-workflow.sh
Edit
linux-functions.sh
Edit
mail-functions.sh
Edit
mkbackup-workflow.sh
Edit
mkbackuponly-workflow.sh
Edit
mkboot-workflow.sh
Edit
mkopalpba-workflow.sh
Edit
mkrescue-functions.sh
Edit
mkrescue-workflow.sh
Edit
mountonly-workflow.sh
Edit
network-functions.sh
Edit
opal-functions.sh
Edit
opaladmin-workflow.sh
Edit
output-functions.sh
Edit
progresssubsystem.nosh
Edit
rear-shell.bashrc
Edit
recover-workflow.sh
Edit
restoreonly-workflow.sh
Edit
rsync-functions.sh
Edit
savelayout-workflow.sh
Edit
serial-functions.sh
Edit
sesam-functions.sh
Edit
shell-workflow.sh
Edit
udev-workflow.sh
Edit
uefi-functions.sh
Edit
validate-workflow.sh
Edit
validated
Edit
write-protect-functions.sh
Edit