This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Copyright (c) 1996-2012 My Company. | |
# All rights reserved. | |
# | |
# Author: Victor Rodriguez, 2014 | |
# | |
# /etc/init.d/lcd-daemon | |
# | |
### BEGIN INIT INFO | |
# Provides: lcd-daemon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Victor Rodriguez, 2014 | |
# | |
# /etc/init.d/dinaip | |
# | |
### BEGIN INIT INFO | |
# Provides: dinaIP daemon | |
# Required-Start: $local_fs $remote_fs $network | |
# Required-Stop: $local_fs $remote_fs $network | |
# Default-Start: 2 3 4 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/var/log/dinaip.log { | |
rotate 7 | |
daily | |
copytruncate | |
compress | |
missingok | |
notifempty | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh /etc/rc.common | |
# dinaIP Service for OpenWRT | |
# Author: Victor Rodriguez | |
# Date: 2014-08-13 | |
START=70; | |
STOP=15; | |
# Comandos personalizados | |
EXTRA_COMMANDS="status list" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=dinaip - DDNS service by Dinahosting | |
[Service] | |
Type=forking | |
ExecStart=/usr/sbin/dinaip -u USER -p PASSWD | |
ExecStop=/usr/sbin/dinaip -d | |
PIDFile=/var/run/dinaip.pid | |
Restart=on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################################### | |
# Calcula los dias que quedan para que un certificado remoto caduque, de modo # | |
# que podamos controlar si ya deberia de estar renovado # | |
############################################################################### | |
if [ $# -eq 0 ]; then | |
echo "No se ha pasado un dominio" | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
devices: ( | |
{ | |
name: "Wireless Mouse MX Master 3"; | |
smartshift: | |
{ | |
on: true; | |
threshold: 30; | |
}; |