My feedback/improvements for Turris OS

Inštalujem pre kamaráta Turris Omniu a opravujem problémy v balíčkoch ktoré sa dajú zmeniť. Je to otravná práca :-((!
Prosím môžete ich zmeniť?

I install Turris Omnia for my friend and fix bugs in packages that can be changed. It’s annoying work: - ((!
Can you change them pls?

1.nut
V nut-server v init scripte zmenit poradie prikazov a vlozit opozdenie. Omnia je strasne rychli router!
In the nut-server in init script, change the order of the commands and insert a delay. Omnia is a great speed router!

/etc/inid.d/nut-server
      if [ "$have_drivers" = "true" ]; then
        $DEBUG /usr/sbin/upsdrvctl ${runas:+-u $runas} start
        sleep 5
        $DEBUG /usr/sbin/upsd ${runas:+-u $runas} $OPTIONS
      fi

luci-app-nut prepisuje inac dobru konfiguraciu v /etc/config/nut-monitor:
config upsmon ‘upsmon’
list defaultnotify ‘SYSLOG+EXEC’ na (to) option defaultnotify ‘SYSLOG’!

Co sposobi ze sa nespustia EXEC prikazy!
What do you do to not execute EXEC commands!

nut-web-cgi je pripravený pre uhttpd, ale Omnia pouziva lighttpd. Ani ručne sa my integracia do webu nepodarila.
nut-web-cgi is ready for uhttpd, but Omnia uses lighttpd. We did not even manage to integrate our site.

EDIT: Pls can you add to nut pakage device “ups” dummy-ups. With this device is posible test all daemons in nut packages.
Zmena sleep 10 na sleep 5. Update 3.11.4 pripisal urobene zmeny.

2.minidlna
Stále padá minidlna daemon pri pridaní filmu. Daemon sa reštartuje ale film nie je pridaný v databáze!
Still falls minidlna daemon when you add a movie. Daemon restarts, but the movie is not added in the database!

3.luci-app-fwknopd
Pridava do konfiguracie pre fwknopd dva riadky ktore daemon nepozna.
It adds two rows to the fwknopd for configuring the daemon.

Ide o riadky v /etc/config/fwknopd:
These are the lines in /etc/config/fwknopd:
config access
option keytype ‘Base 64 key’
option hkeytype ‘Base 64 key’

4.hd-idle
V spustatcom skripte /etc/init.d/hd-idle je pridany prikaz -i.
The command -i is added to the /etc/init.d/hd-idle script.
/usr/bin/hd-idle -d -i 0 -a sda sdb sdc -i 600.
Parameter -i 0 je napevno!
Parameter -i 0 is fixed!

Z From https://github.com/adelolmo/hd-idle

Example:
hd-idle -i 0 -a sda -i 300 -a sdb -i 1200

	This example sets the default idle time to 0 (meaning hd-idle will never try to spin down
	a disk) and default scsi api command, then sets explicit idle times for disks which have
	the string sda or sdb in their device name.

Ved chceme byt zeleny?!
Do we want to be green?!

5.luajit
Nie je integravany do systemu a nechodia servisy s procd v init.d!
It is not integrated into the system and does not go to services with procd in init.d!
Pozri: Luajit require not work in omnii!?

6.fireqos
Je to user friendly fireqos. Je to skript. Je to pre tých co majú Turtist Kit. Teda s microSata kontrolérom a dvomi 3,5" SATA diskami. Samba4 je rýchla cca 800Mbps cez LAN a zoberie všetko pásmo iným službám!
It’s a user friendly fireqos. It is a script! It’s for those who have the Turtist Kit. So with the microSATA controller and two 3.5" SATA drives. Samba4 is fast about 800Mbps over LAN and takes all bandwidth to other services!

Verzia ktora, funguje s Omniou je firehol_3.1.5-1_all_chaos_calmer.ipk
The version that works with Omnia is firehol_3.1.5-1_all_chaos_calmer.ipk
Z From https://github.com/firehol/packages/releases/download/2017-10-14-1440/firehol_3.1.5-1_all_chaos_calmer.ipk

Potrebne úpravy:
Required adjustments:

V /usr/lib/firehol/3.1.5/functions.common
Upravit Adjust:

Bude farebný výstup!
It will be a color output!

    if [ ! -z "$TPUT_CMD" ]
	then
		#ir if [ $[$($TPUT_CMD colors 2>/dev/null)] -ge 8 ]
		#then

                    COLOR_INVERTED="\e[7m"
		#ir fi

V /usr/lib/firehol/3.1.5/install.config
Upraviť položky nasledovne:
Edit items as follows:

BASENAME_CMD="`which basename`"
BRIDGE_CMD=""
CAT_CMD="`which cat`"
CHMOD_CMD="`which chmod`"
CHOWN_CMD="`which chown`"
CP_CMD="`which cp`"
CURL_CMD=""
CUT_CMD="`which cut`"
DATE_CMD="`which date`"
DIFF_CMD=""
DIRNAME_CMD="`which dirname`"
DOT_CMD=""
EGREP_CMD="`which grep` -E"
ENV_CMD=""
EXPR_CMD="`which expr`"
FIND_CMD="`which find`"
FLOCK_CMD="`which flock`"
FOLD_CMD="`which fold`"
FUNZIP_CMD=""
JQ_CMD=""
GAWK_CMD="`which awk`"
GIT_CMD=""
GREP_CMD="`which grep`"
HEAD_CMD="`which head`"
HOSTNAME_CMD=""
IP6TABLES_CMD="`which ip6tables`"
IP6TABLES_RESTORE_CMD="`which ip6tables-restore`"
IP6TABLES_SAVE_CMD="`which ip6tables-save`"
IP_CMD="`which ip`"
IPRANGE_CMD=""
IPSET_CMD="`which ipset`"
IPTABLES_CMD="`which iptables`"
IPTABLES_RESTORE_CMD="`which iptables-restore`"
IPTABLES_SAVE_CMD="`which iptables-save`"
JQ_CMD=""
LN_CMD=""
LOGGER_CMD="`which logger`"
LS_CMD="`which ls`"
LSMOD_CMD="`which lsmod`"
MKDIR_CMD="`which mkdir`"
MKTEMP_CMD="`which mktemp`"
MODPROBE_CMD="`which modprobe` -q"
MORE_CMD="`which less`"
MV_CMD="`which mv`"
NEATO_CMD=""
NFACCT_CMD=""
PING6_CMD="`which ping` -6"
PING_CMD="`which ping`"
READLINK_CMD="`which readlink`"
RENICE_CMD=":"
RMMOD_CMD="`which rmmod`"
RM_CMD="`which rm`"
SCREEN_CMD=""
SED_CMD="`which sed`"
SEQ_CMD="`which seq`"
SH_CMD=""
SLEEP_CMD="`which sleep`"
SORT_CMD="`which sort`"
SS_CMD=""
STTY_CMD=":"
SYSCTL_CMD="`which sysctl`"
TAIL_CMD="`which tail`"
TAR_CMD=""
TCPDUMP_CMD="`which tcpdump`"
TC_CMD="`which tc`"
TOUCH_CMD="`which touch`"
#echo is used to color ouput
TPUT_CMD="`which echo` -e"  
TRACEROUTE_CMD=""
TR_CMD="`which tr`"
UNAME_CMD="`which uname`"
UNIQ_CMD="`which uniq`"
UNZIP_CMD=""
WC_CMD="`which wc`"
WGET_CMD=""
WHOIS_CMD=""
ZCAT_CMD="`which zcat`"

Ďakujem za ochotu.
Thank you for your willingness.