#!/bin/bash # Compile and install Distributed Lock Manager. apt-get -y install daemon cd /usr/src apt-get source dlm apt-get build-dep dlm cd dlm-* # Patch for broken init reference. sed -i "s|/etc/rc.d/init.d/functions|/lib/lsb/init-functions|" init/dlm.init debuild -b cd .. dpkg -i libdlm*.deb # Prerequisite Depends for DLM. dpkg -i dlm_*.deb rm -rf {libdlm*,dlm*}
#!/bin/bash rc.d/init. d/functions| /lib/lsb/ init-functions| " init/dlm.init
# Compile and install Distributed Lock Manager.
apt-get -y install daemon
cd /usr/src
apt-get source dlm
apt-get build-dep dlm
cd dlm-*
# Patch for broken init reference.
sed -i "s|/etc/
debuild -b
cd ..
dpkg -i libdlm*.deb # Prerequisite Depends for DLM.
dpkg -i dlm_*.deb
rm -rf {libdlm*,dlm*}