File: ifupdown-scripts-zg2.postinst

package info (click to toggle)
ifupdown-scripts-zg2 0.2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 484 kB
  • ctags: 55
  • sloc: sh: 4,037; makefile: 37
file content (17 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash -e

[ -n "$IUDSZG2DEBUG" ] && set -x

if [ "$1" = "configure" ]; then
        update-ifupdown-scripts-zg2.d-symlinks
fi

#DEBHELPER#

## Manually added instead of dh_installinit
## woody dh_installinit does not support --no-start
## this can be replaced by calling dh_installinit --no-start on sarge and sid
if [ -x "/etc/init.d/ifupdown-scripts-zg2" ]; then
        update-rc.d ifupdown-scripts-zg2 start 39 S . >/dev/null
fi
# End manually added section