diff --git a/owrt/537-youtubeUnblock.nft b/owrt/537-youtubeUnblock.nft deleted file mode 100644 index eab155a..0000000 --- a/owrt/537-youtubeUnblock.nft +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/sbin/nft -f -# This file install nftables rules for openwrt - -add rule inet fw4 mangle_forward tcp dport 443 ct original packets < 20 counter queue num 537 bypass -insert rule inet fw4 output mark and 0x8000 == 0x8000 counter accept diff --git a/owrt/youtubeUnblock.owrt b/owrt/youtubeUnblock.owrt deleted file mode 100755 index 230d261..0000000 --- a/owrt/youtubeUnblock.owrt +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh /etc/rc.common -USE_PROCD=1 - -START=50 -STOP=50 - - -# Openwrt procd script: https://openwrt.org/docs/guide-developer/procd-init-script-example -# The program should be put into /usr/bin/ -# This file should be put into /etc/init.d/ - -start_service() { - procd_open_instance - procd_set_param command /usr/bin/youtubeUnblock - - procd_set_param nice -20 - - procd_set_param stdout 1 - procd_set_param stderr 1 - - procd_close_instance -}