diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-01-25 23:56:54 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-01-26 00:00:42 +0000 |
commit | a10403cbff2ee2f9e560b2a4b3a47b68a757e5cb (patch) | |
tree | 03935363a544ddce636b8e3d14e088e8da14d238 /smf-init | |
parent | 72b49cccaae450e6e2660fcc22321caab0a346a3 (diff) | |
download | illumos-packaging-a10403cbff2ee2f9e560b2a4b3a47b68a757e5cb.tar.gz |
Added summy *-rc.d and default inittab
Diffstat (limited to 'smf-init')
-rw-r--r-- | smf-init/debian/changelog | 2 | ||||
-rwxr-xr-x | smf-init/debian/rules | 1 | ||||
-rw-r--r-- | smf-init/debian/smf-init.install | 3 | ||||
-rw-r--r-- | smf-init/debian/smf-init.postinst | 16 |
4 files changed, 21 insertions, 1 deletions
diff --git a/smf-init/debian/changelog b/smf-init/debian/changelog index 2115e98..c4c29e2 100644 --- a/smf-init/debian/changelog +++ b/smf-init/debian/changelog @@ -2,4 +2,4 @@ smf-init (2.10-1) unstable; urgency=low * Initial release. - -- Igor Pashev <pashev.igor@gmail.com> Fri, 25 Jan 2013 22:01:43 +0000 + -- Igor Pashev <pashev.igor@gmail.com> Fri, 25 Jan 2013 23:56:29 +0000 diff --git a/smf-init/debian/rules b/smf-init/debian/rules index da0088f..7206946 100755 --- a/smf-init/debian/rules +++ b/smf-init/debian/rules @@ -15,6 +15,7 @@ unpack-stamp: dh_testdir dh_illumos_gate --build \ $(cmd:%=usr/src/cmd/%) \ + usr/src/cmd/initpkg/inittab \ usr/src/man/man1\* \ diff --git a/smf-init/debian/smf-init.install b/smf-init/debian/smf-init.install index 5ffddce..534d41a 100644 --- a/smf-init/debian/smf-init.install +++ b/smf-init/debian/smf-init.install @@ -2,3 +2,6 @@ sbin/init sbin/sulogin usr/sbin/halt usr/sbin/killall +usr/src/cmd/initpkg/inittab usr/share/smf-init/ +usr/sbin/invoke-rc.d +usr/sbin/update-rc.d diff --git a/smf-init/debian/smf-init.postinst b/smf-init/debian/smf-init.postinst new file mode 100644 index 0000000..7eaed3e --- /dev/null +++ b/smf-init/debian/smf-init.postinst @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +t=/etc/inittab + +case "$1" in + configure) + if ! [ -e "$t" ]; then + echo "Installing default $t" + cp /usr/share/smf-init/inittab "$t" + fi + ;; +esac + +exit 0 |