From 6b4c974d5a1a8d12831a6b0de72104368851b5a7 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Sun, 4 Mar 2012 00:34:18 +0100 Subject: 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. --- contrib/11netcfg | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100755 contrib/11netcfg (limited to 'contrib/11netcfg') 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: -- cgit v1.2.3-24-g4f1b