~ubuntu-branches/ubuntu/lucid/installation-report/lucid

« back to all changes in this revision

Viewing changes to debian/save-logs.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2006-06-28 13:42:17 UTC
  • Revision ID: james.westby@ubuntu.com-20060628134217-c2b3df3i2th7pvqz
Tags: 2.17ubuntu1
* Resynchronise with Debian.
* Remove temporary init script (see 2.14), as we dealt with that problem
  in other ways in Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
db_capb backup
36
36
        
37
 
IPADDR=$(ifconfig | grep 'inet addr:' | head -1 | \
 
37
IPADDR=$(ifconfig | grep 'inet addr:' | head -n 1 | \
38
38
         sed 's/.*inet addr:\([0-9.]*\).*/\1/')
39
39
 
40
40
if [ -n "$IPADDR" ]; then