Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Groovix Net Control
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== GNC Control Parameters === * --run (always|once|disabled) : always means run this each time GNC runs, once means don't run it after it has run succesfully, disabled means never run it * --abort : exits the script if an error occurs so it can be run again. Avoid the abort flag for scripts with conditional arguments (like If statements) or use set +e before the conditional and set -e after the conditional in your script. * * NOTE: all if and not statements are ANDed together - every single condition must be true for the update to run * --if-mode (build|install|live|normal) : only run this update if we are running in the specified mode * --not-mode (build|install|live|normal) : do not run this update if we are running in the specified mode * --if-group (site|type|label|id) : only run this update if the machines site or type or label or id matched the specified group. all of those categories share a single namespace * --not-group : do not run this update if the machines site or type or label or id matched the specified group. all of those categories share a single namespace * --if-from (startup|shutdown|ssh|shell|cmon) : run this update if gnc was started from the specified process * --not-from : do not run this update if gnc was started from the specified process * * --before [YYYYMMDDHHMM] : only run this gnc if the current time is before the specified datetime * --after [YYYYMMDDHHMM] : only run this gnc if the current time is after the specified datetime * * ADVANCED USAGE: * --depends [some-other-group/some-other-update] : this update should only be run if the specified update has successfully run * --overrides [some-other-group/some-other-update] : this update should be run again anytime the specified update is run * --cache : download and store this script on the hard drive so that even if it is not applicable to run now it can be run later even if there is no network connection * --rerun : run the entire GNC process again after processing this GNC, useful for gncs that change GNC parameters * --continue : skip the rest of the gncs that were set to run in this iteration * --break : stop running gnc after this update * --reboot : reboot the computer after completing the entire GNC process, if you want an immediate reboot after this particular update then use the --break parameter as well * --fail-override ( warning|disabled|skip|success|complete) : no matter what the script returns, process the outcome as specified * --background : run this update in the background, like putting an & after a command in a shell, not recommended
Summary:
Please note that all contributions to GroovixWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
GroovixWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)