mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-17 23:39:30 +00:00
contrib/template-capsman: split off from Makefile
This commit is contained in:
parent
5e86843d31
commit
1e0ccedac7
2 changed files with 10 additions and 5 deletions
8
contrib/template-capsman.sh
Executable file
8
contrib/template-capsman.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
sed -e '/\/interface\/wifi\//d' -e '/\/interface\/wireless\//d' -e 's|%TEMPL%|.capsman|' \
|
||||
-e '/^# NOT \/caps-man\/ #$/,/^# NOT \/caps-man\/ #$/d' \
|
||||
-e '/^# !!/,/^# !!/c # !! Do not edit this file, it is generated from template!' \
|
||||
< "${1}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue