~hexperides/hexperides/main

« back to all changes in this revision

Viewing changes to etc/init.d/hotplug-net

  • Committer: RicardoCardenes
  • Date: 2005-06-10 15:49:54 UTC
  • Revision ID: RicardoCardenes-8124e411ce351a4aa8b751fa1054a3c0e680bad5
movemos el contenido actual dentro de "trunk"

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
#
 
3
# nethotplug    manage Debian-specific network interfaces state files
 
4
#
 
5
 
 
6
case "$1" in
 
7
    start)
 
8
        : > /etc/hotplug/.run/net.enable
 
9
        ;;
 
10
    stop)
 
11
        if [ -e /etc/hotplug/.run/net.enable ]; then
 
12
            rm -f /etc/hotplug/.run/net.enable
 
13
        fi
 
14
        ;;
 
15
  restart|force-reload)
 
16
        ;;
 
17
    *)
 
18
        echo "Usage: $0 {start|stop|restart|force-reload}" >&2
 
19
        exit 1
 
20
        ;;
 
21
esac