X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/cbfddaacee443576d27eacd7e0cce8adab15e21a..cdce6a14fb57a19714360c62b70c872150949489:/package/base-files/files/etc/profile diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile index aee0de2b8..c5d7e0258 100644 --- a/package/base-files/files/etc/profile +++ b/package/base-files/files/etc/profile @@ -10,5 +10,5 @@ alias more=less [ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc arp() { cat /proc/net/arp; } -ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } +[ -z /bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }