Mailinglist Archive: yast-commit (1914 mails)

< Previous Next >
[yast-commit] r58608 - /trunk/network/src/lan/YaPI/NETWORK.pm
  • From: mzugec@xxxxxxxxxxxxxxxx
  • Date: Thu, 10 Sep 2009 08:17:53 -0000
  • Message-id: <E1Mleqo-0003IW-0C@xxxxxxxxxxxxxxxx>
Author: mzugec
Date: Thu Sep 10 10:17:53 2009
New Revision: 58608

URL: http://svn.opensuse.org/viewcvs/yast?rev=58608&view=rev
Log:
YaPI: stub for Write function

Modified:
trunk/network/src/lan/YaPI/NETWORK.pm

Modified: trunk/network/src/lan/YaPI/NETWORK.pm
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/YaPI/NETWORK.pm?rev=58608&r1=58607&r2=58608&view=diff
==============================================================================
--- trunk/network/src/lan/YaPI/NETWORK.pm (original)
+++ trunk/network/src/lan/YaPI/NETWORK.pm Thu Sep 10 10:17:53 2009
@@ -52,31 +52,14 @@
return \%ret;
}

-#BEGIN{$TYPEINFO{Get} = ["function",
-# [ "map", "string", "any"],
-# "string" ];
-#}
-#sub Get {
-#
-# my $self = shift;
-# my $name = shift;
-#
-# my $service = {
-# "name" => $name,
-# "status" => Service->Status ($name)
-# };
-# return $service;
-#}
-
-BEGIN{$TYPEINFO{Execute} = ["function",
- [ "map", "string", "any"],
- "string", "string" ];
+BEGIN{$TYPEINFO{Write} = ["function",
+ "boolean",["map","string","any"]];
}
-sub Execute {
-
- my $self = shift;
- my $name = shift;
- my $action = shift;
- return Service->RunInitScriptOutput ($name, $action);
+sub Write {
+ my $self = shift;
+ my $args = shift;
+y2internal("args", $args);
+ return 1;
}
+
1;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages