Last change
on this file since 356 was 324, checked in by Sanahuja Guillaume, 5 years ago |
removing opencv dependency
|
File size:
335 bytes
|
Line | |
---|
1 | if [ -f /etc/lsb-release ]; then
|
---|
2 | . /etc/lsb-release
|
---|
3 | fi
|
---|
4 |
|
---|
5 | if [ _$DISTRIB_ID == _Ubuntu ]; then
|
---|
6 | #we must run as root
|
---|
7 | if [ $EUID -ne 0 ]; then
|
---|
8 | exec sudo -E $0 $*
|
---|
9 | fi
|
---|
10 |
|
---|
11 | #we must run in root cgroup to escape possible restrictions on scheduling
|
---|
12 | if [ -d /sys/fs/cgroup/cpu ]; then
|
---|
13 | echo $$ > /sys/fs/cgroup/cpu/tasks
|
---|
14 | fi
|
---|
15 | fi
|
---|
16 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.