python-treq: bump to version 16.12.0
[buildroot-gz.git] / package / cgroupfs-mount / S30cgroupfs
blobaa0a29b120f616d8512a48a1137f4b6e69f25c10
1 #!/bin/sh
3 # Set up cgroupfs mounts.
6 start() {
7 printf "Mounting cgroupfs hierarchy: "
8 /usr/bin/cgroupfs-mount
9 [ $? = 0 ] && echo "OK" || echo "FAIL"
11 stop() {
12 printf "Unmounting cgroupfs hierarchy: "
13 /usr/bin/cgroupfs-umount
14 [ $? = 0 ] && echo "OK" || echo "FAIL"
16 restart() {
17 stop
18 start
21 case "$1" in
22 start)
23 start
25 stop)
26 stop
28 restart|reload)
29 restart
32 echo "Usage: $0 {start|stop|restart}"
33 exit 1
34 esac