summaryrefslogtreecommitdiff
path: root/etc
AgeCommit message (Collapse)Author
2011-02-16fix for bug 6754An-Cheng Huang
* force all command-line words to be non-options.
2011-01-24Fix 6727: should have a friendlier message on rollback error.Stig Thormodsrud
(cherry picked from commit e973b4d3ab1067525b4439a34598308d17065233)
2011-01-20Fix 6669: help strings for confirm and commit-confirm are not very clearStig Thormodsrud
(cherry picked from commit 77d6d68d7674009b98722173a66e6b5d6cc188d1)
2011-01-20fix for bug 6690An-Cheng Huang
* return to top level before saving (to be consistent with load). (cherry picked from commit bc0c9107d5f5cda86646b8162950938e52a2333f)
2011-01-11Fix 6671: commit-confirm checks if there is any configuraion change after ↵Stig Thormodsrud
confirm is requested (cherry picked from commit 2b9bd473a6341d5d2681e59120a4e689a52b25c5)
2011-01-05Fix completion of IPv6 addressStephen Hemminger
By default bash completion considers ':' as seperator between tokens when doing completion. But the list of characters is configurable. (cherry picked from commit a7fcaabddafd970790abd99cd9afed0625aac49b)
2010-12-14provide default filename completionAn-Cheng Huang
2010-12-06fix for bug 6494An-Cheng Huang
* fix alternating completion/help for empty command line.
2010-12-03change boot-time config loading to use new implementation in backend.An-Cheng Huang
* add new boot-time config loading script that uses shell API to access backend directly, bypassing wrapper. * use new loadFile implementation in the backend to perform the actual "load" operation (without "commit"). this reduces the "pre-commit" load time by ~60%.
2010-12-03Pipe "compare" output through pager.Stig Thormodsrud
2010-12-01Simplify failure message handlingStephen Hemminger
1. If sub-init failed then generate failure (not warning) if exit code is -1. 2. Don't need if test to check for disabled load.
2010-12-01Fix default completion in commit modeStephen Hemminger
This adds completion for # se<TAB>
2010-11-30Use new bash empty command completionStephen Hemminger
In newer version of bash the complete -E is used to do command completion at top level.
2010-11-29disable activate/deactivate for mendocino as discussed.An-Cheng Huang
2010-11-24Don't put sh-bang on bash completion scriptStephen Hemminger
The bash completion scripts are special and should not have #! This fixes debian build warning as well.
2010-11-24Rename raid cleanup log fileStephen Hemminger
Standard practice is to use '.log' suffix not _log
2010-11-24Remove ACPI cpufreq hackStephen Hemminger
Now that cpufrequtils package is integrated, no longer need Vyatta specific hack to load cpu frequency modules
2010-11-24Use LSB log status routines correctlyStephen Hemminger
Need to get correct exit status from failed config (or other steps) and call log_end_msg to display that status. The load config step is run in sub-shell therefore can use exec to avoid one fork.
2010-11-24Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg into mendocinoStephen Hemminger
2010-11-24Rename bash completion scriptStephen Hemminger
The scripts in /etc/bash_completion.d are not named with number like init files. Also completion script should not be marked executable.
2010-11-24Bind mount /opt/vyatta/etc/config to /config.Bob Gilligan
2010-11-23Add COMMIT_VIA environment variable.Stig Thormodsrud
2010-11-22Add warning if using "commit confirm" instead of "commit-confirm".Stig Thormodsrud
2010-11-11Add warning when saving if there are uncommitted changes.Stig Thormodsrud
2010-11-11Add completion for commit and commit-confirm.Stig Thormodsrud
2010-11-11Add tab completion for "compare" command.Stig Thormodsrud
2010-11-11Add completion for rollback.Stig Thormodsrud
2010-11-09Add optional minutes parameter to commit-confirm.Stig Thormodsrud
2010-11-09Add commit-confirm, confirm, and rollback to bash completions.Stig Thormodsrud
2010-11-02Add hook to call config mode 'compare'Stig Thormodsrud
2010-10-18Pull the little run_init hack outStephen Hemminger
2010-10-14Have init reread inittab after configStephen Hemminger
Need to have init re-read configuration but only after Vyatta config (to avoid dropping serial login)
2010-10-13Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg into mendocinoStephen Hemminger
2010-10-01Pass optional commit comment through commit to commit hooks.Stig Thormodsrud
2010-09-24cleanupAn-Cheng Huang
* set help string only if available. * use "builtin" explicitly.
2010-09-08Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg into mendocinoStephen Hemminger
2010-08-26new implementation for config outputAn-Cheng Huang
* replace the original ConfigOutput perl module. * simplify logic and fix bugs in original code.
2010-08-18Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg into mendocinoStephen Hemminger
2010-08-12remove unneeded env variablesAn-Cheng Huang
2010-07-28add new cstore libraryAn-Cheng Huang
2010-07-28Ignore run_init unless running in selinuxStephen Hemminger
2010-07-28Add range and ipv6range as val_help typesStephen Hemminger
This usage is common in firewall code. (cherry picked from commit 2e676eab9d35e8faf0df8676fc832c3178ff3feb)
2010-07-27handle single quotes in comp_helpAn-Cheng Huang
(cherry picked from commit 2c2d2f6e9c3e27a5ab7422ff6b3474ca901de4da)
2010-07-22first commit to mendocino!Michael Larson
re-enable activate/deactivate
2010-07-21change quotingAn-Cheng Huang
2010-07-21output comp_help in addition to normal helpAn-Cheng Huang
2010-07-21fix for bug 5887An-Cheng Huang
* handle possible space in multi-type parsing.
2010-07-21support ipv4range and ! in val_helpAn-Cheng Huang
2010-07-15allow escaping literal stringsAn-Cheng Huang
2010-07-14separate val_help parsing from evalAn-Cheng Huang