Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#!/bin/bash
2# SPDX-License-Identifier: GPL-2.0+
3#
4# Remove the "jittering" file, signaling the jitter.sh scripts to stop,
5# then wait for them to terminate.
6#
7# Usage: . jitterstop.sh jittering-dir
8#
9# jittering-dir: Directory containing "jittering" file.
10#
11# Copyright (C) 2021 Facebook, Inc.
12#
13# Authors: Paul E. McKenney <paulmck@kernel.org>
14
15jittering_dir=$1
16if test -z "$jittering_dir"
17then
18 echo jitterstop.sh: Missing directory in which to place jittering file.
19 exit 34
20fi
21
22rm -f ${jittering_dir}/jittering
23wait