File: start-ocs-live

package info (click to toggle)
clonezilla 5.12.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 4,580 kB
  • sloc: sh: 41,014; perl: 193; python: 59; makefile: 26
file content (20 lines) | stat: -rwxr-xr-x 484 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# Author: Steven Shiau <steven _at_ clonezilla org>
# License: GPL

### BEGIN INIT INFO
# Provides:          start-ocs-live
# Required-Start:    $local_fs $all
# Required-Stop:
# X-Start-Before:    
# Default-Start:     2
# Default-Stop:
### END INIT INFO

# To avoid there is no input output in rc running, we add this one:
exec </dev/console >/dev/console 2>&1

[ ! -d "/etc/ocs/ocs-live.d/" ] && exit 1
for script in /etc/ocs/ocs-live.d/S[0-9][0-9]*; do
  $script
done