We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ce260 commit 8730953Copy full SHA for 8730953
1 file changed
data/entrypoint.sh
@@ -1,6 +1,12 @@
1
#!/bin/bash
2
set -euo pipefail
3
4
+# Bypass check if user is just looking for the mac address
5
+if [ "$1" == "getmac" ]; then
6
+ exec calllogger-getmac
7
+ exit 0
8
+fi
9
+
10
isMounted () { findmnt -rno SOURCE,TARGET "$1" >/dev/null;} # path or device
11
isDevMounted () { findmnt -rno SOURCE "$1" >/dev/null;} # device only
12
isPathMounted() { findmnt -rno TARGET "$1" >/dev/null;} # path only
0 commit comments