Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/etc/rc.d/cgd,v rcsdiff: /ftp/cvs/cvsroot/src/etc/rc.d/cgd,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- src/etc/rc.d/cgd 2009/09/11 18:18:03 1.7 +++ src/etc/rc.d/cgd 2010/11/01 14:41:11 1.8 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: cgd,v 1.7 2009/09/11 18:18:03 apb Exp $ +# $NetBSD: cgd,v 1.8 2010/11/01 14:41:11 christos Exp $ # # PROVIDE: cgd @@ -23,5 +23,13 @@ cgd_start() fi } +cgd_stop() +{ + if [ -f /etc/cgd/cgd.conf ]; then + print_rc_normal "Unconfiguring CGD devices." + cgdconfig -U + fi +} + load_rc_config $name run_rc_command "$1"