base-files: ipcalc.sh: use shebang to invoke awk
authorLeon M. George <leon@georgemail.eu>
Thu, 5 May 2022 22:03:54 +0000 (00:03 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 7 Feb 2023 20:05:57 +0000 (21:05 +0100)
commit6ce9f42b9819b93717d7425ca4135afec6ea43af
tree6758e14039ae26974bc411856923eefb5d4c2fec
parenta40a96e54b0d047d14d99bb715ee2dd94458acb6
base-files: ipcalc.sh: use shebang to invoke awk

There's hardly an shell logic in ipcalc.sh and a $* that would garble
parameter positions.
Move the awk invokation to the shebang.

A rename from "ipcalc.sh" to "ipcalc" is desirable but could prove tricky
with packages in other repositories depending on the filename.

Signed-off-by: Leon M. George <leon@georgemail.eu>
package/base-files/files/bin/ipcalc.sh