~ubuntu-branches/ubuntu/hardy/freeradius/hardy-proposed

« back to all changes in this revision

Viewing changes to debian/freeradius-iodbc.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2006-12-16 20:45:11 UTC
  • mfrom: (3.1.10 feisty)
  • Revision ID: james.westby@ubuntu.com-20061216204511-3pbbsu4s8jtehsor
Tags: 1.1.3-3
Fix POSIX compliance problem in init script.  Closes: #403384. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
case "$1" in
6
6
  configure)
7
 
        if command -v invoke-rc.d >/dev/null 2>&1; then
8
 
                invoke-rc.d freeradius restart
9
 
        else
10
 
                /etc/init.d/freeradius restart
11
 
        fi
12
 
        ;;
 
7
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
 
8
          invoke-rc.d freeradius reload
 
9
        else
 
10
          /etc/init.d/freeradius reload
 
11
        fi
 
12
        ;;
13
13
  abort-upgrade)
14
 
        ;;
 
14
        ;;
15
15
  abort-remove)
16
 
        ;;
 
16
        ;;
17
17
  abort-deconfigure)
18
 
        ;;
 
18
        ;;
19
19
esac
20
20
 
21
21
#DEBHELPER#