Announcement

Collapse
No announcement yet.

Help Writing A Service Menu

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by Xplorer4x4 View Post
    2. Is it possible to execute commands from the exec line in a progressive matter?
    It is, you can separate commands with ( ; ), ( && ) or ( || ).
    examples:

    Code:
    command1 ; command2
    (executes both command1 and command2)
    
    command1 && command2
    (executes command2 if command1 runs succesfully [exit status zero]), logical AND
    
    command1 || command2
    (executes command2 if command1 fails [exit status non-zero]), logical OR
    But I concur with OneLine...anything complex is likely better handled (and managed) with a script.

    Comment


      #17
      Thanks for the responses guys. Very good information. However I would like to understand a bit more about how the {} in unrar e '{}' functions as a wild card for the rar files?
      Last edited by Xplorer4x4; Jul 02, 2012, 11:17 AM.
      OS: Kubuntu 12.10/Windows 8
      CPU: Intel Core i7 2600K
      Motherboard: Gigabyte GA-Z77X-UD5H
      Memory: 2x4GB Corsair Dominator
      Graphics Card: MSI R7770
      Monitor: Dell 2208WFP
      Mouse: Mionix NAOS 5000
      PSU: Corsair 520HX
      Case: Thermaltake Mozart TX
      Cooling: Thermalright TRUE Black Ultra-120 eXtreme CPU Heatsink Rev C
      Hard Drives: 1x180 GB Intel 330 SSD - 1xWD 1 TB Caviar Black - 1xWD 2 TB Caviar Green - 2xWD 3 TB Caviar Green

      Comment


        #18
        This time I am trying to make a Service Menu that I want to be able to make it automatically execute on a remote system. Again, I am anxious to learn, but not sure how to start off this time since this will be executed over fish on the remote machine. Like last time I want to launch Konsole and display the output. The first problem I am running in to is getting the Service Menu entry to even appear. I have Root Actions installed and it shows up on the remote host so I tried to use the same Service Type but it failed.

        EDIT: I managed to get it working and didn't even realize it at first lol. I had set it to only show up on folders but I was clicking on files. Just trying to figure out how to set the output file to be created in my Desktop folder rather then my Home folder.
        Last edited by Xplorer4x4; Jul 02, 2012, 01:36 PM.
        OS: Kubuntu 12.10/Windows 8
        CPU: Intel Core i7 2600K
        Motherboard: Gigabyte GA-Z77X-UD5H
        Memory: 2x4GB Corsair Dominator
        Graphics Card: MSI R7770
        Monitor: Dell 2208WFP
        Mouse: Mionix NAOS 5000
        PSU: Corsair 520HX
        Case: Thermaltake Mozart TX
        Cooling: Thermalright TRUE Black Ultra-120 eXtreme CPU Heatsink Rev C
        Hard Drives: 1x180 GB Intel 330 SSD - 1xWD 1 TB Caviar Black - 1xWD 2 TB Caviar Green - 2xWD 3 TB Caviar Green

        Comment

        Working...
        X