summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2011-01-19Bugfix 6684: Don't delete wanpipe config files.Bob Gilligan
The wanpipe config files are managed by the vyatta-serial package. So this package should not touch them. (cherry picked from commit 256bf73dda76b68fe756c5299b0732336dc60e8a)
2011-01-17Bugfix 6687: Need to explicitly specify the RAID metadata version number.Bob Gilligan
(cherry picked from commit 5de8a194db56c51c9e5541cca43423f11534ffb7)
2011-01-16Bugfix 6156: Policy must be given on command line.Bob Gilligan
In the new version of biosdevname (version 0.3.4), the default policy generates interface names of the form "em1". That's not the naming convention that we use. The "all_ethN" policy does use the traditional ethernet naming convention. (cherry picked from commit f05a91c02e27bb19717ddf8e1ffc07ed7b1bbbc5)
2010-12-22Add more error recovery and disk space checking.Bob Gilligan
2010-12-22Affinity script was failing to configure some queues of multi-queue NICs.Bob Gilligan
The problem was due to incorrect initialization of the $q and $cpu variables. Their initializations were reversed.
2010-12-10Fix 6554: clear vrrp master tab completion results in cli api errorStig Thormodsrud
2010-12-10Fix 6453: After configuring VRRP on interface, VRRP is not active until VRRP ↵Stig Thormodsrud
is manually restared with "restart vrrp" command. - Move all commit checks into script on end node. - Add separate function for conntrack-sync settings. - Do per instance validation at the right priority level. - Verify that the changes file is removed on final transaction.
2010-12-10Fix update of serial speed on all grub linesStephen Hemminger
Bug 6551 Need to handle case where console=ttyS0,9600 is at end of line
2010-12-06Move touch() perl to Vyatta::FileStephen Hemminger
Put function in common code.
2010-12-06Move is_local_address to common codeStephen Hemminger
Now part of lib/Vyatta/Misc.pm module
2010-12-04Set up commit-revisions if configured after init-floppy.Stig Thormodsrud
2010-12-02Mark the Vyatta specific section of inittabStephen Hemminger
2010-12-02Allow more serial console linesStephen Hemminger
Since inittab allows up to 4 characters for id field, allow 1000 entries.
2010-12-02Allow configuring console speed etcStephen Hemminger
Bug 3849, 2289, 4126 Adds configuration of serial console: set system console { device ttyS0 { speed 19200 } device ttyACM0 { speed 57600 type modem } } This covers the cases of deleting serial console, changing speed, and allowing modem console devices
2010-12-02Set group ownership and permissions on /var/run/vyattaStephen Hemminger
Bug 6407 Allow configuration commands to create files in /var/run/vyatta without being root.
2010-12-02Cleanup leftover ipv6_no_fwd filesStephen Hemminger
Need to cleanup breadcrumb files on boot. Fix spellin errors
2010-12-01Speed up install-system progress barStephen Hemminger
The progress bar for copy files is nice but slows down the install because it updates too often
2010-11-30Fix dhcpv6 client scriptStephen Hemminger
Some compile and typo errors. Don't capture output, let it flow through to console. Use exec to get correct error code from dhcpv6 client program.
2010-11-30Remove old code for address insertion/deletion/validationStephen Hemminger
Interface addresses are now checked with other code.
2010-11-30Add duplicate address check on commitStephen Hemminger
Perl is no longer used for syntax checks, instead put duplicate address check into commit.
2010-11-29Automatically configure physical device for wireless interfacesStephen Hemminger
When system is booted with newly detected wireless device, both the hw-id and physical-device need to be setup.
2010-11-29Fix interface scanning on boot - allow more mac addressesStephen Hemminger
The code to match on locally assigned bit had a bad regex. Use conversion to hex and mask instead. Also don't allow multicast address bit.
2010-11-29Fix use of undefined in comparisonStephen Hemminger
The test for mixing dhcp and static ipv4 could cause perl warning from comparing undefined with numeric.
2010-11-29Remove module rather than deleting link deviceStephen Hemminger
The special tunnel device gre0 (etc) are created by module when installed. If the the device is deleted directly then following attempts to create tunnels will fail. The proper way to cleanup is to remove the module which will remove the special device and save memory.
2010-11-24Don't let biosdevname look at wireless devicesStephen Hemminger
Bug 6445 Biosdevname program converts everything to eth devices.
2010-11-24Fix tunnel cleanup scriptStephen Hemminger
Lots of errors in original version.
2010-11-23Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg-system into ↵Stephen Hemminger
mendocino
2010-11-23Remove check function from keepalived perl scriptStephen Hemminger
No longer need check-vip option since the type checking is done in template
2010-11-23Use unlink rather than system() to remove files in keepalive scriptStephen Hemminger
Faster to use perl to remove file than going out to shell.
2010-11-23Use sockets to check if IP address is localStephen Hemminger
Much faster to user perl sockets to test if IP address is okay, rather than scanning ip addresses.
2010-11-23Make scripts executableStephen Hemminger
2010-11-22typo in tunnel cleanupStephen Hemminger
2010-11-22Merge branch 'mendocino' of suva.vyatta.com:/git/vyatta-cfg-system into ↵Stephen Hemminger
mendocino
2010-11-22Use script vyatta-address to set interfaceStephen Hemminger
Avoid the overhead of perl compilation of vyatta-interfaces for each address added. Handle the case of deleting address on deleted device cleanly. Clean up dhcpv6 script so it can be used on interfaces other than ethernet.
2010-11-21Merge branch 'mendocino' of http://git.vyatta.com/vyatta-cfg-system into ↵Bob Gilligan
mendocino
2010-11-21Bugfix 6457: Don't ask the question if you're not going to like the answer.Bob Gilligan
2010-11-21Bugfix 6101: Make a syslog record when a new image is added.Bob Gilligan
2010-11-19Cleanup tunnel slave device on last deleteStephen Hemminger
Need to leave gre0 around for case of multiple tunnels
2010-11-18Add more checks for bridge/bond conflictsStephen Hemminger
Don't allow putting bridge port into bond-group (and vice-versa).
2010-11-17Cleanup bond-group syntax and commit checksStephen Hemminger
Move check for address and state of slave to commit which allows for better error message.
2010-11-17Cleanup bridge port managementStephen Hemminger
Consolidate bridge port management into a single perl script. Done to fix the following bug. Bug 4745 Don't allow interface with address to be added to bridge.
2010-11-17Add check for interface address before putting it in bonded deviceStephen Hemminger
Bug 4745 Don't allow interface with address to be added to bond
2010-11-17Add check for adding bridge-group and bond-group when setting addressStephen Hemminger
Bug 4745 Block putting address on interface that is part of a bridge (or bonding). Address should only be assigned to the master device, not the slave. Also changes messge on error since CLI now displays error location.
2010-11-16Add ability to configure telnet listen-addresStephen Hemminger
Bug 4452 Allow configuring a telnet listen-address either IPv4 or IPv6 (like SSH). Unlike SSH, telnet only supports a single listen-address
2010-11-16Add ability to configure SSH listen addressStephen Hemminger
Bug 2410 Add ability to add configure listen address in ssh_config. set service ssh listen-address 1.2.4.40 Multiple values are allowed, and works for both IPv4 and IPv6
2010-11-16Add option to disable host validation (DNS) for SSHStephen Hemminger
Bug 4970 New CLI control of UseDNS option to sshd_config set service ssh disable-host-validation
2010-11-16update call to error location api.Michael Larson
2010-11-15Add hw-id for existing interfaces to configStephen Hemminger
If config has interface (without hw-id), then add it on boot.
2010-11-15Move cleanup of serial interface into rl-system.initStephen Hemminger
This gets rid of separate init file for wan interfaces
2010-11-12Fix is_supported_speed matchingStephen Hemminger
Typo in sprintf (perl doesn't have %c). Also improve error messages.