File: postinst

package info (click to toggle)
dhcp-helper 0.7-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 96 kB
  • ctags: 43
  • sloc: ansic: 397; sh: 64; makefile: 60
file content (14 lines) | stat: -rw-r--r-- 300 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -e

update-rc.d dhcp-helper defaults >/dev/null

if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then

        if [ -x /usr/sbin/invoke-rc.d ] ; then
     	    invoke-rc.d dhcp-helper  start || true
        else
            /etc/init.d/dhcp-helper start || true
        fi

fi