summaryrefslogtreecommitdiff
path: root/conf/tcos-generation-functions.sh
diff options
context:
space:
mode:
authorMario Izquierdo (mariodebian) <mariodebian@gmail.com>2008-07-25 10:55:16 +0000
committerMario Izquierdo (mariodebian) <mariodebian@gmail.com>2008-07-25 10:55:16 +0000
commitae8deb64522c751964866c34386db5e0d5b19ea4 (patch)
treee737ea0c857f08dae1b7f166766591a485cbac47 /conf/tcos-generation-functions.sh
parent07ac6553c9d8a6c6877be7ac57567880c51d84b1 (diff)
initramfs-tools-tcos (0.89.2)
* hooks-addons/21pulseaudio hooks-addons/03wireless hooks-addons/22esd conf/tcos-generation-functions.sh - Create _ldd wrapper to call ldd with LC_ALL=C and no return error messages * hooks-addons/clean_initramfs: - Move libasound if zattoo is installed to proper path - Delete not needed libs (depends on resume and not used) * hooks-addons/22esd: - Use copy_exec to copy libesd (and depends) * scripts/tcos-top/50fstab: - Don't show errors mounting /proc/bus/usb git-svn-id: http://tcosproject.org/svn/tcos/trunk/initramfs-tools-tcos@917 97557d6f-af72-4ac7-98cc-18709f36555f
Diffstat (limited to 'conf/tcos-generation-functions.sh')
-rw-r--r--conf/tcos-generation-functions.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/tcos-generation-functions.sh b/conf/tcos-generation-functions.sh
index 04ec7e9..7760abb 100644
--- a/conf/tcos-generation-functions.sh
+++ b/conf/tcos-generation-functions.sh
@@ -4,6 +4,12 @@
# functions used by tcos hooks
+_ldd () {
+ # wrapper to ldd
+ LC_ALL=C ldd $@ 2>/dev/null || return 1
+ return 0
+}
+
_echo () {
# wrapper to echo in scripts
echo "$@"