]> git.proxmox.com Git - zfsonlinux.git/blob - zfs-patches/fix-dh-installinit.patch
adopt fix-dh-installinit.patch for latest upstream changes
[zfsonlinux.git] / zfs-patches / fix-dh-installinit.patch
1 Index: new/debian/rules
2 ===================================================================
3 --- new.orig/debian/rules
4 +++ new/debian/rules
5 @@ -113,7 +113,7 @@ override_dh_installinit:
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
14 @@ -123,7 +123,7 @@ endif
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
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.
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.