����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#
# At the end of the restoreonly WORKFLOW
# remount all what is mounted below /mnt/local with sync option.
# cf. finalize/default/900_remount_sync.sh in the recover WORKFLOW
#
# User can still do stuff after "rear recover" had finished
# but rebooting without umount is not so tragic any more.
# On the other hand remounting with sync option could become
# in practice a major annoyance because it makes writing
# anything below /mnt/local basically unusable slow,
# see https://github.com/rear/rear/issues/1097
#
# Remounting with sync option is no longer needed when systemd is used because
# when systemd is used reboot, halt, poweroff, and shutdown are replaced by
# scripts that do umount plus sync to safely shut down the recovery system,
# cf. https://github.com/rear/rear/pull/1011
# Skip if not restoreonly WORKFLOW:
test "restoreonly" = "$WORKFLOW" || return 0
# Skip if systemd is used
# systemctl gets copied into the recovery system as /bin/systemctl:
test -x /bin/systemctl && return 0
while read mountpoint device mountby filesystem junk ; do
if ! mount -o remount,sync "${device}" $TARGET_FS_ROOT"$mountpoint" ; then
LogPrint "Remount sync of '${device}' failed. Do not reboot without umount."
# Cf. /bin/reboot in the ReaR rescue/recovery system:
LogPrint "syncing disks and waiting 3 seconds..."
sync
sleep 3
fi
done < "${VAR_DIR}/recovery/mountpoint_device"
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 050_remount_async.sh | File | 1.11 KB | 0644 |
|
| 500_selinux_autorelabel.sh | File | 945 B | 0644 |
|
| 900_create_missing_directories.sh | File | 5.32 KB | 0644 |
|
| 950_restore_esp.sh | File | 350 B | 0644 |
|
| 990_move_away_restored_files.sh | File | 4.27 KB | 0644 |
|
| 995_remount_sync.sh | File | 1.4 KB | 0644 |
|