• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  1. Home
  2. TI_Gaming_TV
T
  • Profile
  • Following 0
  • Followers 0
  • Topics 3
  • Posts 13
  • Best 0
  • Controversial 0
  • Groups 0

TI_Gaming_TV

@TI_Gaming_TV

0
Reputation
3
Profile views
13
Posts
0
Followers
0
Following
Joined Feb 28, 2023, 1:49 PM Last Online Mar 2, 2023, 4:01 PM

TI_Gaming_TV Unfollow Follow

Latest posts made by TI_Gaming_TV

  • RE: PI Hole command not working

    @Russ now i know the problem. it was the !# in line 1. I forgot the !

    posted in General Discussion
    T
    TI_Gaming_TV
    Mar 2, 2023, 4:01 PM
  • RE: PI Hole command not working

    @Russ

    #/bin/bash
    case "$1" in
      "on")
        pihole enable
        ;;
      "off")
        pihole disable
        ;;
      *)
        echo "Run this with on or off as the parameter."
        exit 1
        ;;
    esac
    
    
    posted in General Discussion
    T
    TI_Gaming_TV
    Mar 2, 2023, 3:52 PM
  • RE: PI Hole command not working

    @Russ sry. The ;; weren’t copied because I used the iPhone photo scan. That’s not the problem

    posted in General Discussion
    T
    TI_Gaming_TV
    Mar 2, 2023, 7:29 AM
  • RE: PI Hole command not working

    @Russ

    
    root@DietPi:~# cat / root/. TRIGGERcmdData/pihole_on_off.sh 
    #/bin/bash 
    case "$1" in
    "on")
    pihole enable
    "off")
    pihole disable
    *)
    echo "Run this with on or off as the parameter."
    exit 1
    ;;
    esac 
    
    
    posted in General Discussion
    T
    TI_Gaming_TV
    Mar 1, 2023, 10:35 PM
  • RE: PI Hole command not working

    I needed to change file permissions.
    Now i get this:

    
    /root/.TRIGGERcmdData/pihole_on_off.sh: line 2: syntax error near unexpected token '§'in\r'
    'root/. TRIGGERcmdData/pihole_on_off.sh: line 2: 'case "$1" in
    
    
    posted in General Discussion
    T
    TI_Gaming_TV
    Mar 1, 2023, 9:51 PM
  • PI Hole command not working

    I followed all the instructions given by Russ. The trigger on and off are going to my pi (i can see it over the console). Parameter off was send, but he pihole_on_off.sh file not working do not send pihole enable (same with on).

    posted in General Discussion
    T
    TI_Gaming_TV
    Mar 1, 2023, 6:30 PM
  • RE: Cant install background agent

    I changed in the installdaemon.sh the code to this:

    find / root/TRIGGERcmd-Agent -type d -name "src" | grep /src | while read dname; do /root/TRIGGERcmd-Agent/src env node $dname/agent. js --daemoninstall /bin/sh $dname/daemonmqr.sh --add $HOME/ . TRIGGERcmdData

    posted in General Discussion
    T
    TI_Gaming_TV
    Mar 1, 2023, 8:05 AM
  • RE: Cant install background agent

    I changed some lines in daemoninstall.sh and it works now

    posted in General Discussion
    T
    TI_Gaming_TV
    Feb 28, 2023, 9:55 PM
  • RE: Cant install background agent

    When i try this: /root/TRIGGERcmd-Agent/src/installdaemon.sh

    I get this: find: ‘/usr/*/triggercmdagent’: No such file or directory
    Failed to enable unit: Unit file triggercmdagent.service does not exist.
    Unit triggercmdagent.service could not be found.

    posted in General Discussion
    T
    TI_Gaming_TV
    Feb 28, 2023, 9:36 PM
  • RE: Cant install background agent

    This is not existing:
    /usr/share/triggercmdagent/app/src/installdaemon.sh

    posted in General Discussion
    T
    TI_Gaming_TV
    Feb 28, 2023, 9:34 PM