]> git.proxmox.com Git - zfsonlinux.git/blame - zfs-patches/fix-dh-installinit.patch
adopt fix-dh-installinit.patch for latest upstream changes
[zfsonlinux.git] / zfs-patches / fix-dh-installinit.patch
CommitLineData
64d186b9 1Index: new/debian/rules
1c1a9068 2===================================================================
64d186b9
DM
3--- new.orig/debian/rules
4+++ new/debian/rules
5@@ -113,7 +113,7 @@ override_dh_installinit:
1c1a9068
DM
6 @# Install the /etc/init.d/zfs-import script.
7 ifeq ($(LSB_DISTRIBUTOR),Debian)
8 dh_installinit -pzfsutils --onlyscripts --name=zfs-import \
9- --no-restart-on-upgrade --no-start -- start 07 S . stop 07 0 1 6 .
10+ --no-restart-on-upgrade --no-start
11 else
12 dh_installinit -pzfsutils --onlyscripts --name=zfs-import \
13 --no-restart-on-upgrade --no-start
64d186b9 14@@ -123,7 +123,7 @@ endif
1c1a9068
DM
15 ifeq ($(LSB_DISTRIBUTOR),Debian)
16 @# Debian runs local mounts at sysv sequences [10..12] [08..09].
17 dh_installinit -pzfsutils --onlyscripts --name=zfs-mount \
18- --no-restart-on-upgrade --no-start -- start 02 2 3 4 5 . stop 06 0 1 6 .
19+ --no-restart-on-upgrade --no-start
20 else
21 dh_installinit -pzfsutils --onlyscripts --name=zfs-mount \
22 --no-restart-on-upgrade --no-start
64d186b9
DM
23@@ -131,13 +131,13 @@ endif
24
25 @# Install the ZED init file.
26 dh_installinit -pzfsutils --onlyscripts --name=zfs-zed \
27- --no-restart-on-upgrade --no-start -- start 07 2 3 4 5 . stop 08 0 1 6 .
28+ --no-restart-on-upgrade --no-start
29
30 @# Install the /etc/init.d/zfs-share script.
1c1a9068
DM
31 ifeq ($(LSB_DISTRIBUTOR),Debian)
32 @# Debian runs nfs-kernel-server at sysv sequence 17 01.
33 dh_installinit -pzfsutils --onlyscripts --name=zfs-share \
34- --no-restart-on-upgrade --no-start -- start 27 2 3 4 5 . stop 05 0 1 6 .
35+ --no-restart-on-upgrade --no-start
36 else ifeq ($(LSB_DISTRIBUTOR),Ubuntu)
37 @# Ubuntu runs nfs-kernel-server at sysv sequence 20 80.
38 @# iscsitarget at 20 20, and samba through upstart.