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
# SPDX-License-Identifier: GPL-2.0-only | |
# | |
# This is free software, licensed under the GNU General Public License v2. | |
# See /LICENSE for more information. | |
# Copyright (C) 2022-2023 BlueWave Projects and Services <licence@blue-wave.net> | |
# | |
include $(TOPDIR)/rules.mk | |
PKG_NAME:=mesh11sd |
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
opkg update; opkg install git git-http; | |
pia_update() { | |
local i iface config | |
local host port fw_reload_flag | |
local fw_network="$(uci -q get firewall.@zone[1].network)" | |
if [ -z "$(opkg list-installed git)" ] || [ -z "$(opkg list-installed git-http)" ]; then | |
opkg update | |
opg install git git-http | |
fi | |
cd /root/ |
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 | |
# Copyright 2020-2022 Stan Grishin (stangri@melmac.ca) | |
# shellcheck disable=SC1091,SC2018,SC2019,SC3043,SC3057,SC3060 | |
# sysctl net.ipv4.conf.default.rp_filter=1 | |
# sysctl net.ipv4.conf.all.rp_filter=1 | |
# shellcheck disable=SC2034 | |
START=94 | |
# shellcheck disable=SC2034 |