X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Flive-boot.init;h=9d6bc69ae9ec3451b8fca5cbf0555d1ff0aa5054;hb=c0462668aa294df13900feb54c51258560efd804;hp=b93cfcdd0647d33498a902df65f41d1b4162880c;hpb=c1048dbf79e1522311201829b1876fb86b6d2c07;p=live-boot-grml.git diff --git a/debian/live-boot.init b/debian/live-boot.init index b93cfcd..9d6bc69 100644 --- a/debian/live-boot.init +++ b/debian/live-boot.init @@ -49,7 +49,7 @@ cache_path() then if [ -x "${path}" ] then - if file "${path}" | grep -q 'dynamically linked' + if file -L "${path}" | grep -q 'dynamically linked' then for lib in $(ldd "${path}" | awk '{ print $3 }') do @@ -96,6 +96,7 @@ do_stop () { if ! grep -qs nopersistent /proc/cmdline && grep -qs persistent /proc/cmdline then + # ROOTSNAP and HOMESNAP are defined in ${SNAPSHOT_CONF} file if [ ! -z "${ROOTSNAP}" ] then ${DO_SNAPSHOT} --resync-string="${ROOTSNAP}"