conn

A script repository to manage connections in Linux.
git clone git://r-36.net/conn
Log | Files | Refs | LICENSE

commit 2becc1cb27c1501aaf7bc9da2b585bd3bffe41a0
parent 5c0f7bebd0c6e2b095860b4ba24d13e6957fdae8
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sat, 26 Feb 2011 21:41:25 +0100

Making the installation a bit more user friendly.

Diffstat:
Makefile | 10+++++-----
README.md | 9+++++++++
2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -18,18 +18,18 @@ pm: @cp etc/pm/sleep.d/10-conn.sh ${DESTDIR}/etc/pm/sleep.d @chmod 755 ${DESTDIR}/etc/pm/sleep.d/10-conn.sh +etc: + @echo installing etc files into ${DESTDIR}/etc/conn + @mkdir -p ${DESTDIR}/etc/conn + @cp -R etc/conn ${DESTDIR}/etc/conn + install: @echo installing conn script to ${DESTDIR}${PREFIX}/bin @cp bin/conn ${DESTDIR}${PREFIX}/bin @chmod 755 ${DESTDIR}${PREFIX}/bin/conn - @echo installing etc files into ${DESTDIR}/etc/conn - @mkdir -p ${DESTDIR}/etc/conn - @cp -R etc/conn ${DESTDIR}/etc/conn uninstall: @echo removing conn script from ${DESTDIR}${PREFIX}/bin @rm -f ${DESTDIR}${PREFIX}/bin/conn - @echo removing etc files from ${DESTDIR}/etc/conn - @rm -rf ${DESTDIR}/etc/conn .PHONY: dist install uninstall diff --git a/README.md b/README.md @@ -15,6 +15,15 @@ many different connections in a Unix like environment. * rfkill for wwan * pm-utils (for suspend support) +## Installation + + # For installing the conn script. + make install + # For installing the etc files. + make etc + # For installing the pm sleep.d script. + make pm + ## Architecture /usr/bin/conn The main script, which accesses all functionality.