~ubuntu-branches/ubuntu/oneiric/netbase/oneiric

« back to all changes in this revision

Viewing changes to debian/netbase.init

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2006-01-25 17:16:36 UTC
  • Revision ID: james.westby@ubuntu.com-20060125171636-f3kg5a9smhkumguw
Tags: 4.24ubuntu1
* Resynchronise with Debian.
  - Manually fix up init script again.
* Migrate /etc/network/options to /etc/sysctl.conf settings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
### BEGIN INIT INFO
3
3
# Provides:          networking
4
4
# Required-Start:    mountvirtfs ifupdown $local_fs
5
 
# Required-Stop:
6
5
# Default-Start:     S
7
6
# Default-Stop:      0 6
8
7
### END INIT INFO
13
12
 
14
13
. /lib/lsb/init-functions
15
14
 
 
15
 
16
16
case "$1" in
17
17
start)
18
18
        log_action_begin_msg "Configuring network interfaces"
24
24
                log_action_end_msg $?
25
25
            fi
26
26
        else
27
 
            if ! ifup -a >/dev/null 2>/dev/null; then
28
 
                log_action_end_msg 1
 
27
            if ifup -a >/dev/null 2>&1; then
 
28
                log_action_end_msg $?
 
29
            else
 
30
                log_action_end_msg $?
29
31
            fi
30
32
        fi
31
33
        type usplash_write >/dev/null 2>/dev/null && usplash_write "TIMEOUT 15" || true