summaryrefslogtreecommitdiffstats
path: root/contrib/11netcfg
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-03-04 00:34:18 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2012-03-04 00:34:18 +0100
commit6b4c974d5a1a8d12831a6b0de72104368851b5a7 (patch)
treec9f06ac8f70fbdc50bfa9215d9a2d0b93cc3dc57 /contrib/11netcfg
parent4ed88705b8ea1dae9adc109b71ef35624a9faccd (diff)
downloadnetctl-6b4c974d5a1a8d12831a6b0de72104368851b5a7.tar.gz
netctl-6b4c974d5a1a8d12831a6b0de72104368851b5a7.tar.xz
Overhaul of documentation
- Documentation now uses asciidoc instead of pandoc. - Documentation is updated. - More documentation is installed. - The Makefile has been revised. - Autocompletion files must now be installed through the PKGBUILD. - contrib/11netcfg has been deleted. It is unmaintained and duplicated in pm-utils. This closes FS#25587. - contrib/common.hook has been deleted. It demonstrated a feature that the target audience is already familiar with and didn't work anyway. This closes FS#27496. Developers are free to write unwieldy scripts in the {PRE,POST}_{UP,DOWN} variables.
Diffstat (limited to 'contrib/11netcfg')
-rwxr-xr-xcontrib/11netcfg47
1 files changed, 0 insertions, 47 deletions
diff --git a/contrib/11netcfg b/contrib/11netcfg
deleted file mode 100755
index db65f5a..0000000
--- a/contrib/11netcfg
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-source /usr/lib/pm-utils/functions
-source /etc/pm/config.d/netcfg
-
-suspend_netcfg() {
- case $NETCFG_SUSPEND in
- daemons)
- stopservice net-profiles
- stopservice net-auto-wired
- stopservice net-auto-wireless
- ;;
- retain|*)
- netcfg all-suspend
- ;;
- esac
-}
-
-resume_netcfg() {
- case $NETCFG_SUSPEND in
- daemons)
- restartservice net-profiles
- restartservice net-auto-wired
- restartservice net-auto-wireless
- ;;
- retain|*)
- netcfg all-resume
- ;;
- esac
-}
-
-if [ -x /usr/bin/netcfg2 ]; then
- case "$1" in
- hibernate|suspend)
- suspend_netcfg
- ;;
- thaw|resume)
- resume_netcfg
- ;;
- *)
- ;;
- esac
-fi
-
-exit $?
-
-# vim: ft=sh ts=4 et sw=4: