diff options
| author | Freya Murphy <freya@freyacat.org> | 2024-11-17 04:01:08 +0000 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2024-11-17 04:01:08 +0000 |
| commit | 5e60794b428035db69899f229befac504d6dc043 (patch) | |
| tree | 6135a66fcaad554b71f012f211e625f56faa787f /lib/inet2.sh | |
| parent | add openwrt (diff) | |
| download | freyanet-main.tar.gz freyanet-main.tar.bz2 freyanet-main.zip | |
Diffstat (limited to 'lib/inet2.sh')
| -rwxr-xr-x | lib/inet2.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/inet2.sh b/lib/inet2.sh deleted file mode 100755 index 672286e..0000000 --- a/lib/inet2.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env sh - -run() { - printf '$ \x1b[32;1m%s\x1b[0m\n' "$*" - "$@" -} -step() { - printf '\x1b[34;1m>> %s\x1b[0m\n' "$*" -} - -getval() { - /var/lib/inet2/config.awk /etc/inet2.conf "$@" -} - -haskey() { - getval interface | while read -r inter; do - if getval "interface $inter" "$1"; then - echo "true" - return - fi - done -} |