Assignment | |
---|---|
Assign value to variable if variable is not already set, value is returned.Combine with a : no-op to discard/ignore return value . |
${variable="value"} : ${variable="value"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# This scripts checks the given list of packages if they have | |
# reverse dependencies (i.e. there are packages which depends on them). | |
# Dependencies that are on the list are excluded. | |
# | |
# Usage: $0 LIST | |
set -eu | |
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cat <<_EOF | |
This script has moved! | |
Check out https://github.com/aswild/vyatta-wireguard-build | |
_EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Author: TBK | |
# Email: [email protected] | |
# SPDX-License-Identifier: GPL-2.0-only | |
# Version: 0.0.1 | |
# Description: Tool to extract and nicely present channels that wpa_supplicant has associated on | |
# Usage: ./associated_freqs.sh | |
if [ -f wpa_supplicant.log ]; then | |
# Grab all lines with frequencies that has been associated on | Reduce it to the frequency | Sort | Remove duplicates |