diff options
Diffstat (limited to 'main/quagga-nhrp/quagga-nhrp.post-install')
-rw-r--r-- | main/quagga-nhrp/quagga-nhrp.post-install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main/quagga-nhrp/quagga-nhrp.post-install b/main/quagga-nhrp/quagga-nhrp.post-install new file mode 100644 index 0000000000..b4bcef1e7b --- /dev/null +++ b/main/quagga-nhrp/quagga-nhrp.post-install @@ -0,0 +1,9 @@ +#!/bin/sh + +# early quaggas had an entry in ld.so.conf. We dont need it anymore +if [ -r /etc/ld.so.conf ]; then + sed -i -e '/usr\/lib\/quagga/d' /etc/ld.so.conf + # remove if zero sized + [ -s /etc/ld.so.conf ] || rm /etc/ld.so.conf +fi +exit 0 |