summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2010-02-02Bugfix 2539: Validate input when user specifies image name.Bob Gilligan
2010-01-28Expand all possible interfaces with leases for renewStephen Hemminger
Also mark all scripts as executable.
2010-01-25Bugfix 5238: Prevent the running image from being deletedBob Gilligan
In order to prevent the running image from being deleted, we now get the image name of the running system from the kernel boot path given by /proc/cmdline. Since the menu of names of images to delete comes from the grub config file, this is guranteed to exactly match the grub entry that was used to boot. Also fix the help text for "delete system image" command.
2010-01-11Add image name completion for two system image commands.Bob Gilligan
The two commands are: "set system image default-boot" and "delete system image".
2010-01-06Handle various conditions and cleanup.Bob Gilligan
Added code to handle deletion of the default boot image. This now succeeds so long as the default boot image is not the running image. The running image still can not be deleted. Correctly handle case where image being deleted resides before the default boot image in the grub config file. Previously this would either switch the default boot image to the one after it, or leave the default pointing to a non-existant entry. Added the Vyatta license. Re-organized and added comments to make the code easier to maintain.
2010-01-06Merge branch 'kenwood' of suva.vyatta.com:/git/vyatta-op into kenwoodStephen Hemminger
2010-01-06Simple SNMP operational commandStephen Hemminger
show snmp Wrapper around snmpstatus, simple way to check if server is up
2010-01-06Show interfaces no longer uses Vyatta::ConfigStephen Hemminger
No need to have use statement.
2010-01-05Allow deletion of disk-based non-image installation.Bob Gilligan
2010-01-04Don't allow operator to run show system login usersStephen Hemminger
Bug 5147 This is a generic way of solving the sudo problem (for now).
2010-01-04Indicate when system was booted via image.Bob Gilligan
2009-12-23Fix typo in show dhcp client lease scriptStephen Hemminger
It is resolve_domain not resolve_doman, my bad
2009-12-23Fix deletion of image from disk-based image.Bob Gilligan
2009-12-23Allow displaying and switching to disk-based installations.Bob Gilligan
2009-12-22Rearrange code for clarityStephen Hemminger
Put variable assignment closer to usage. Run through perltidy for indent.
2009-12-22Use perl to read resolv.confStephen Hemminger
Don't need to use grep to parse resolv.conf, perl is simpler and more powerful.
2009-12-22Get rid of dead code.Stephen Hemminger
2009-12-22Use perl to scan directoryStephen Hemminger
Better to use perl opendir/readdir to get list of files, rather than parsing output of ls.
2009-11-09add op command for image removalAn-Cheng Huang
2009-11-03add op commands for installed imagesAn-Cheng Huang
2009-09-14Decolorize show system login usersStephen Hemminger
Add last login info (multicolumn output), and get rid of color
2009-09-11Add show system login usersStephen Hemminger
Bug 4828 Add script to show logins and compare vyatta config to current system. Show only, does not change status.
2009-08-12Cleanup show bonding scriptStephen Hemminger
Use existing Vyatta::Misc module to find interfaces
2009-08-12Fix error message from show bondingStephen Hemminger
Bug 4628 If bond device has no slaves, then get_sysfs_value will return undefined, instead of empty string.
2009-08-12Fix handling of invalid bonding nameStephen Hemminger
Bug 4514
2009-03-12Add show shutdownStephen Hemminger
Bug 4217 Add show shutdown, try and determine time.
2009-03-08Remove [y] from promptStephen Hemminger
Make shutdown appear like reboot.
2009-03-02Use getInterfaces in vyatta-show-interfaces.plStephen Hemminger
Avoid problems with bonding_masters file in /sys/class/net
2009-02-26Add default option to yesno for shutdownStephen Hemminger
Make it work like reboot
2009-02-18Invalid action should cause usage messageStephen Hemminger
Don't expect this script used directly, but make it more useful.
2009-02-18Fix problems with new show-interfaces.plStephen Hemminger
Needed to call 'new Vyatta::Interface' Add usage message, and fix to use less specific and more generic code.
2009-02-17Use common Vyatta:: libraryStephen Hemminger
This fixes potential problems when new interface types are added, use common code in Vyatta::Interface and Vyatta::Misc to manage interface types.
2009-02-17Enable strict in cpu summaryStephen Hemminger
2009-02-17Prompt before immediate shutdownStephen Hemminger
Add yesno helper script and prompt before shutdown
2009-01-30Fix CPU summaryStephen Hemminger
Handle case of UP and virtualized CPU better. Fix path to script.
2009-01-29Change name of cpu summary script and rearrangeStephen Hemminger
Final answer.
2009-01-06Fix Bug 4022 dynamic dns config fails during system boot if interface does ↵Mohit Mehta
not exist - add information for non-existent interface to show command
2008-12-11Add option to show counters for multiple interfaces.Stig Thormodsrud
2008-12-01Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-op into jennerStephen Hemminger
Conflicts: scripts/vyatta-show-interfaces.pl
2008-12-01"show interfaces" broken. Use new perl hierarchy.Stig Thormodsrud
2008-11-21Convert to Vyatta::Stephen Hemminger
2008-11-20Decode bonding modesStephen Hemminger
Bugfix 3945 Decode bonding mode names (match configuration values).
2008-11-19make changes for submodule moved to VyattaMiscMohit Mehta
2008-11-11add 'ppp interface-name' to output of 'show dns forwarding nameserver'Mohit Mehta
for nameservers received from peer when ppp interface comes up
2008-11-10add wirelessmodem to interface hash to pick up description from CLIMohit Mehta
2008-11-10Sort interfaces in bonding operational mode commandsStephen Hemminger
For consistency with show interfaces, sort output by device name
2008-11-10Show correct statistics on slavesStephen Hemminger
Statistics for slave devices were not being read properly.
2008-10-24Fix references to ethtoolStephen Hemminger
Since ethtool is in /usr/sbin, it is not in the command search path of admin user, so a fully qualify path. Bugfix 3832
2008-10-09Revert insecure method of displaying configurationStephen Hemminger
The change: Fix Bug 3763 Configuration is not available to operator in "show tech-support" introduces unnecessary insecure functionality.
2008-10-07Fix Bug 3763 Configuration is not available to operator in "show tech-support"Mohit Mehta