From 0fe45ec33f93e8c98ac11599b90509899f86d6e5 Mon Sep 17 00:00:00 2001 From: Vadim Vetrov Date: Sat, 21 Sep 2024 21:16:19 +0300 Subject: [PATCH] Delete owrt directory The scripts moved to the openwrt branch https://github.com/Waujito/youtubeUnblock/tree/openwrt --- owrt/537-youtubeUnblock.nft | 5 ----- owrt/youtubeUnblock.owrt | 22 ---------------------- 2 files changed, 27 deletions(-) delete mode 100644 owrt/537-youtubeUnblock.nft delete mode 100755 owrt/youtubeUnblock.owrt 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 -}