Add section to generated drop-in
This commit is contained in:
@@ -27,7 +27,11 @@ main() {
|
||||
fi
|
||||
|
||||
mkdir -p "$(dirname "$DROPIN_FILE")"
|
||||
echo "WorkingDirectory=${ZEPP_AGPS_TARGET_DIR}" >"$DROPIN_FILE"
|
||||
cat <<EOF >"$DROPIN_FILE"
|
||||
# Generated by huami-token-generator
|
||||
[Service]
|
||||
WorkingDirectory=${ZEPP_AGPS_TARGET_DIR}
|
||||
EOF
|
||||
}
|
||||
|
||||
# Check if the script is being run directly, not sourced
|
||||
|
||||
Reference in New Issue
Block a user