source: lliurex-rpi-packages/trunk/fuentes/ldm/S30eth @ 2328

Last change on this file since 2328 was 2328, checked in by kbut, 3 years ago

add new package

  • Property svn:executable set to *
File size: 223 bytes
Line 
1#!/bin/sh
2#
3# Wait for raspberry2 ethernet module to be ready
4# before starting the network
5#
6
7case "$1" in
8        start)
9                while [ ! -d /sys/class/net/eth0 ];
10                do
11                        echo "Waiting for eth0 module..."
12                        sleep 1
13                done
14        ;;
15esac
Note: See TracBrowser for help on using the repository browser.