=================================================================== RCS file: /cvs/trango/Net-Telnet-Trango/lib/Net/Telnet/Trango.pm,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- trango/Net-Telnet-Trango/lib/Net/Telnet/Trango.pm 2006/06/28 23:33:18 1.7 +++ trango/Net-Telnet-Trango/lib/Net/Telnet/Trango.pm 2006/06/29 01:39:52 1.8 @@ -1,5 +1,5 @@ package Net::Telnet::Trango; -# $RedRiver: Trango.pm,v 1.6 2006/06/28 22:00:15 andrew Exp $ +# $RedRiver: Trango.pm,v 1.7 2006/06/28 22:33:18 andrew Exp $ use strict; use warnings; use base 'Net::Telnet'; @@ -243,6 +243,10 @@ returns an array ref of hashes containing each log line. +=item save_sudb + +returns true on success, undef on failure + =cut @@ -255,7 +259,7 @@ sulog => { decode => 'sulog', expect => $success }, 'exit' => { no_prompt => 1, cmd_disconnects => 1 }, reboot => { no_prompt => 1, cmd_disconnects => 1 }, - sudb_save => { String => "sudb save", expect => $success }, + save_sudb => { String => "save sudb", expect => $success }, #su password??? #_bootloader #temp @@ -491,7 +495,7 @@ and returns true on success or undef otherwise. -You should sudb_save() after calling this, or your changes will be lost +You should save_sudb() after calling this, or your changes will be lost when the AP is rebooted. =cut @@ -550,7 +554,7 @@ Takes either 'all' or the suid of the su to delete and returns true on success or undef otherwise. -You should sudb_save() after calling this, or your changes will be lost +You should save_sudb() after calling this, or your changes will be lost when the AP is rebooted. =cut @@ -580,7 +584,7 @@ su2su takes a group id parameter that is in hex. -You should sudb_save() after calling this, or your changes will be lost +You should save_sudb() after calling this, or your changes will be lost when the AP is rebooted. =cut