Skip to content

Instantly share code, notes, and snippets.

@jlgreer
Created April 19, 2011 16:27
Show Gist options
  • Save jlgreer/928684 to your computer and use it in GitHub Desktop.
Save jlgreer/928684 to your computer and use it in GitHub Desktop.
Chkconfig tests to add to the methods: section of a policy file (I used nfsClient.cf)
methods:
andwife::
# TESTING
#"chkconfig_add_jgtest"
# usebundle => chkconfig_add("jgtest");
#"chkconfig_on_jgtest"
# usebundle => chkconfig_on("jgtest");
#"chkconfig_off_jgtest"
# usebundle => chkconfig_off("jgtest");
#"chkconfig_del_jgtest"
# usebundle => chkconfig_del("jgtest");
#"chkconfig_add_idontexist"
# usebundle => chkconfig_add("idontexist");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment