---
name: "dh_installifupdown"
section: "1"
platform: "linux"
package: "debhelper"
version: "13.24.2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_installifupdown"
---

# dh\_installifupdown(1)

install if-up and if-down hooks

## NAME

dh\_installifupdown - install if-up and if-down hooks

## SYNOPSIS

**dh\_installifupdown** \[*debhelper options*\] \[**--name=***name*\]

## DESCRIPTION

**dh\_installifupdown** is a debhelper program that is responsible for installing *if-up*, *if-down*, *if-pre-up*, and *if-post-down* hook scripts into package build directories.

## FILES

- debian/*package*.if-up

  - debian/*package*.if-down

  - debian/*package*.if-pre-up

  - debian/*package*.if-post-down

  These files are installed into etc/network/if-\*.d/*package* in the package build directory.

## OPTIONS

- **--name=***name*

  Look for files named *debian/package.name.if-\** and install them as *etc/network/if-\*/name*, instead of using the usual files and installing them as the package name.

## SEE ALSO

[**debhelper**(7)](/debhelper/7.md)

This program is a part of debhelper.

## AUTHOR

Joey Hess \<joeyh@debian.org\>
