summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-13 22:18:10 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:54:20 +0100
commitc118f7bca3bb76c19a38330786568fac3a833f80 (patch)
tree5120ffbf4bd04d4a0c303275dd76f8a72307afd0
parent785c1aae7102b05a12022698c86f55475a468324 (diff)
downloadlive-boot-c118f7bca3bb76c19a38330786568fac3a833f80.tar.gz
live-boot-c118f7bca3bb76c19a38330786568fac3a833f80.zip
Adding patch from Colin Watson <cjwatson@ubuntu.com> to follow symlinks when checking for dynamically linked files at reboot in initscript.
-rw-r--r--debian/live-boot.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/live-boot.init b/debian/live-boot.init
index cefa59b..63b07f0 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