diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-11-26 10:00:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-26 10:00:59 +0100 |
commit | a98ec26f5592994ae0163446f3971419d12aef70 (patch) | |
tree | 0599d7a7c8919265605f98d5dd2ed0d6b678673c /recipes-sota/ostree/files/touch-ostree | |
parent | 0b087a34b708bfd808a013b3656f543d2709692e (diff) | |
parent | 8409a07d65a2b7bc2dbb56b11158e0f64ac1065a (diff) | |
download | meta-updater-a98ec26f5592994ae0163446f3971419d12aef70.tar.gz |
Merge pull request #634 from advancedtelematic/feat/thud/2019.10
Feat/thud/2019.10
Diffstat (limited to 'recipes-sota/ostree/files/touch-ostree')
-rwxr-xr-x | recipes-sota/ostree/files/touch-ostree | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-sota/ostree/files/touch-ostree b/recipes-sota/ostree/files/touch-ostree new file mode 100755 index 0000000..28cb672 --- /dev/null +++ b/recipes-sota/ostree/files/touch-ostree | |||
@@ -0,0 +1,21 @@ | |||
1 | #!/bin/sh | ||
2 | ### BEGIN INIT INFO | ||
3 | # Provides: touch-ostree | ||
4 | # Required-Start: $network $remote_fs | ||
5 | # Required-Stop: $network $remote_fs | ||
6 | # Default-Start: 2 3 4 5 | ||
7 | # Default-Stop: 0 1 6 | ||
8 | # Short-Description: Indicate OSTree boot | ||
9 | ### END INIT INFO | ||
10 | |||
11 | case "$1" in | ||
12 | start) | ||
13 | touch /run/ostree-booted | ||
14 | ;; | ||
15 | stop) | ||
16 | ;; | ||
17 | *) | ||
18 | echo "Usage: /etc/init.d/touch-ostree {start|stop}" | ||
19 | exit 1 | ||
20 | ;; | ||
21 | esac | ||