cornucopia: bump SRCREV
[openembedded.git] / recipes / i2c / files / i2c.init
blob957ce68c7b6e232d2d0609c856ef461c63a11324
1 #!/bin/sh
3 # Start i2c support
6 start() {
7 echo "Starting i2c..."
9 /sbin/modprobe i2c-pxa
10 /sbin/modprobe i2c-dev
12 stop() {
13 echo "Stopping i2c..."
16 restart() {
17 stop
18 start
21 case "$1" in
22 start)
23 start
25 stop)
26 stop
28 restart)
29 restart
32 echo $"Usage: $0 {start|stop|restart}"
33 exit 1
34 esac
36 exit $?