Change shebangs to the more portable /usr/bin/env bash
This resolves issues on systems where bash is not in /bin/bash (e.g. NixOS).
This commit is contained in:
parent
bc27e237c9
commit
95a646b3a9
2 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# A Bash script to monitor system stats and output them in JSON format.
|
||||
# This script is a conversion of ZigStat
|
||||
|
|
@ -199,4 +199,4 @@ while true; do
|
|||
|
||||
# Wait for the specified duration before the next update.
|
||||
sleep "$SLEEP_DURATION"
|
||||
done
|
||||
done
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "Sending 8 test notifications..."
|
||||
|
||||
|
|
@ -8,4 +8,4 @@ for i in {1..8}; do
|
|||
sleep 1
|
||||
done
|
||||
|
||||
echo "All notifications sent!"
|
||||
echo "All notifications sent!"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue