live-snapshot: fixed include-list handling.
authorMarco Amadori <marco.amadori@gmail.com>
Thu, 18 Sep 2008 22:31:57 +0000 (00:31 +0200)
committerMarco Amadori <marco.amadori@gmail.com>
Sat, 20 Sep 2008 11:34:29 +0000 (13:34 +0200)
commit556831dadc81eb28df5fb7be0aa9611e9b36a658
tree8ba71dac07c858217efd29a67afe7cefa6e99c47
parent622d9b6a37df32b0cf6a04d537fbfc49bcb917da
live-snapshot: fixed include-list handling.

* When "/etc/live-snapshot.list" is present, all standard files and
  directories listed there are saved on shutdown.
  Now it saves them only if they are modified, and also handles
  dangling symbolic links. This beaviour will be gentle to live-systems
  upgrades on the same hardware since new unmodified to-be-snapshotted files
  will be no more overwritten by old unnecessary saved cruft.
  It still does not handle removal of deleted files.

Signed-off-by: Marco Amadori <amadorim@vdavda.com>
bin/live-snapshot