blob: 28cb6723944d1319e9f03d7fdd747205704b833c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
### BEGIN INIT INFO
# Provides: touch-ostree
# Required-Start: $network $remote_fs
# Required-Stop: $network $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Indicate OSTree boot
### END INIT INFO
case "$1" in
start)
touch /run/ostree-booted
;;
stop)
;;
*)
echo "Usage: /etc/init.d/touch-ostree {start|stop}"
exit 1
;;
esac
|