From f9542b036aeae1a41c3a7863502160232410ecbd Mon Sep 17 00:00:00 2001 From: Viktor <35473052+viktorxda@users.noreply.github.com> Date: Sat, 2 Dec 2023 02:10:19 +0100 Subject: [PATCH] [no ci] Overlay: add network script alias --- general/overlay/etc/profile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/general/overlay/etc/profile b/general/overlay/etc/profile index 72ab6a00..20090305 100644 --- a/general/overlay/etc/profile +++ b/general/overlay/etc/profile @@ -49,6 +49,10 @@ show_wlan() { grep -r '$1..=' /etc/wireless | cut -d '"' -f 4 | sort | grep -e $(fw_printenv -n soc) -e generic } +network() { + /etc/init.d/S40network "$1" +} + switch_debug() { [ "$1" = "on" ] && action='+' report='enabled' || action='-' report='disabled' mount | grep -q 'debugfs' || mount -t debugfs none /sys/kernel/debug