mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 01:49:28 +00:00
11 lines
281 B
Bash
Executable file
11 lines
281 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
sed \
|
|
-e '/\/caps-man\//d' \
|
|
-e '/\/interface\/wifi\//d' \
|
|
-e 's|%TEMPL%|.local|' \
|
|
-e '/^# NOT \/interface\/wireless\/ #$/,/^# NOT \/interface\/wireless\/ #$/d' \
|
|
-e '/^# !!/,/^# !!/c # !! Do not edit this file, it is generated from template!' \
|
|
< "${1}"
|