From 9c04f3d77a812f648842c72e70f17acfdd08c6b6 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Thu, 18 Oct 2007 14:21:55 -0700 Subject: add dependency and postinst --- debian/control | 2 +- debian/vyatta-cfg-system.postinst.in | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 debian/vyatta-cfg-system.postinst.in (limited to 'debian') diff --git a/debian/control b/debian/control index 275ce680..d0095055 100644 --- a/debian/control +++ b/debian/control @@ -12,7 +12,7 @@ Depends: bash (>= 3.1), perl (>= 5.8.8), procps (>= 1:3.2.7-3), coreutils (>= 5.97-5.3), - vyatta-cfg + vyatta-cfg, sysv-rc, ifrename, ntp, sysklogd Suggests: util-linux (>= 2.13-5), net-tools, ethtool, diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in new file mode 100644 index 00000000..39c4e4d1 --- /dev/null +++ b/debian/vyatta-cfg-system.postinst.in @@ -0,0 +1,8 @@ +#!/bin/bash + +prefix=@prefix@ +sysconfdir=@sysconfdir@ + +# remove init of daemons that we manage +update-rc.d -f ntp remove >/dev/null + -- cgit v1.2.3