diff options
author | joey <joey> | 1999-08-17 04:34:24 +0000 |
---|---|---|
committer | joey <joey> | 1999-08-17 04:34:24 +0000 |
commit | 1e6dea44772a0c1f57e7cd50ff12e35a1cff0b96 (patch) | |
tree | 212e56dc8ea32cf27cd2a33ac901a92a701f063f /autoscripts | |
parent | face7b5d7df5fb2b8f434bc7135f27b38329a5c5 (diff) | |
download | debhelper-1e6dea44772a0c1f57e7cd50ff12e35a1cff0b96.tar.gz |
r11: Initial revision
Diffstat (limited to 'autoscripts')
-rw-r--r-- | autoscripts/postinst-init | 2 | ||||
-rw-r--r-- | autoscripts/postinst-init-norestart | 1 | ||||
-rw-r--r-- | autoscripts/postinst-suid | 6 | ||||
-rw-r--r-- | autoscripts/postrm-init | 3 | ||||
-rw-r--r-- | autoscripts/postrm-suid | 3 | ||||
-rw-r--r-- | autoscripts/prerm-init | 1 |
6 files changed, 16 insertions, 0 deletions
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init new file mode 100644 index 00000000..976c6b34 --- /dev/null +++ b/autoscripts/postinst-init @@ -0,0 +1,2 @@ +update-rc.d #SCRIPT# #INITPARMS# >/dev/null +/etc/init.d/#SCRIPT# start diff --git a/autoscripts/postinst-init-norestart b/autoscripts/postinst-init-norestart new file mode 100644 index 00000000..05357d07 --- /dev/null +++ b/autoscripts/postinst-init-norestart @@ -0,0 +1 @@ +update-rc.d #SCRIPT# #INITPARMS# >/dev/null diff --git a/autoscripts/postinst-suid b/autoscripts/postinst-suid new file mode 100644 index 00000000..1294d313 --- /dev/null +++ b/autoscripts/postinst-suid @@ -0,0 +1,6 @@ +if [ -e /etc/suid.conf -a -x /usr/sbin/suidregister ]; then + suidregister -s #PACKAGE# /#FILE# #OWNER# #GROUP# #PERMS# +else + chown #OWNER#.#GROUP# /#FILE# + chmod #PERMS# /#FILE# +fi diff --git a/autoscripts/postrm-init b/autoscripts/postrm-init new file mode 100644 index 00000000..9596dd97 --- /dev/null +++ b/autoscripts/postrm-init @@ -0,0 +1,3 @@ +if [ "$1" = "purge" ] ; then + update-rc.d #SCRIPT# remove #INITPARMS# >/dev/null +fi diff --git a/autoscripts/postrm-suid b/autoscripts/postrm-suid new file mode 100644 index 00000000..9712d256 --- /dev/null +++ b/autoscripts/postrm-suid @@ -0,0 +1,3 @@ +if [ -e /etc/suid.conf -a -x /usr/sbin/suidunregister ]; then + suidunregister -s #PACKAGE# /#FILE# +fi diff --git a/autoscripts/prerm-init b/autoscripts/prerm-init new file mode 100644 index 00000000..64975a38 --- /dev/null +++ b/autoscripts/prerm-init @@ -0,0 +1 @@ +/etc/init.d/#SCRIPT# stop |