remove class paramenter from register_XXX_command
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 31 Dec 2014 16:40:51 +0000 (17:40 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 31 Dec 2014 16:40:51 +0000 (17:40 +0100)
src/pve-firewall

index bdd9f21..690c569 100755 (executable)
@@ -128,12 +128,9 @@ sub run {
     }
 }
 
-$daemon->register_start_command(__PACKAGE__,
-                               "Start the Proxmox VE firewall service.");
-$daemon->register_restart_command(__PACKAGE__, 1, 
-                                 "Restart the Proxmox VE firewall service.");
-$daemon->register_stop_command(__PACKAGE__,
-                              "Stop firewall. This removes all Proxmox VE " .
+$daemon->register_start_command("Start the Proxmox VE firewall service.");
+$daemon->register_restart_command("Restart the Proxmox VE firewall service.");
+$daemon->register_stop_command("Stop firewall. This removes all Proxmox VE " .
                               "related iptable rules. " .
                               "The host is unprotected afterwards.");