Support sysv init system used by Debian Wheezy
Change-Id: Ia6ca11ab78f16a51aba7b627c72c615c184d338d
This commit is contained in:
		| @@ -22,8 +22,12 @@ case "$DIB_INIT_SYSTEM" in | |||||||
|         # let dib-init-system's postinstall handle enabling init scripts |         # let dib-init-system's postinstall handle enabling init scripts | ||||||
|         exit 0 |         exit 0 | ||||||
|         ;; |         ;; | ||||||
|  |     sysv) | ||||||
|  |         # ssh is enabled by default, nothing to do | ||||||
|  |         exit 0 | ||||||
|  |         ;; | ||||||
|     *) |     *) | ||||||
|         echo "Unsupported init system" |         echo "Unsupported init system $DIB_INIT_SYSTEM" | ||||||
|         exit 1 |         exit 1 | ||||||
|         ;; |         ;; | ||||||
| esac | esac | ||||||
|   | |||||||
| @@ -24,8 +24,12 @@ case "$DIB_INIT_SYSTEM" in | |||||||
|         # let dib-init-system's postinstall handle enabling init scripts |         # let dib-init-system's postinstall handle enabling init scripts | ||||||
|         exit 0 |         exit 0 | ||||||
|         ;; |         ;; | ||||||
|  |     sysv) | ||||||
|  |         # nothing to do | ||||||
|  |         exit 0 | ||||||
|  |         ;; | ||||||
|     *) |     *) | ||||||
|         echo "Unsupported init system" |         echo "Unsupported init system $DIB_INIT_SYSTEM" | ||||||
|         exit 1 |         exit 1 | ||||||
|         ;; |         ;; | ||||||
| esac | esac | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Saverio Proto
					Saverio Proto