[no ci] Overlay: add network script alias

pull/1171/head
Viktor 2023-12-02 02:10:19 +01:00
parent a505e0ec8b
commit f9542b036a
1 changed files with 4 additions and 0 deletions

View File

@ -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