summarylogtreecommitdiffstats
path: root/0001-Fixup-init.d-service-to-be-used-in-usr-bin-for-syste.patch
blob: 1bddd3704575840df8a5bf8ad50d0e409239fe08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From d2ca30306765fda61d2648a289d0e81d775685b4 Mon Sep 17 00:00:00 2001
From: Jacob McSwain <jacob@mcswain.dev>
Date: Wed, 15 Dec 2021 20:49:41 -0600
Subject: [PATCH] Fixup init.d service to be used in /usr/bin for systemd

---
 cuttlefish-common.init | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/cuttlefish-common.init b/cuttlefish-common.init
index ff18481..593e3dc 100755
--- a/cuttlefish-common.init
+++ b/cuttlefish-common.init
@@ -1,16 +1,5 @@
 #!/bin/sh
 #
-### BEGIN INIT INFO
-# Provides: cuttlefish-host-resources
-# Required-Start: $network $remote_fs
-# Required-Stop: $network $remote_fs
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: Set up initial cuttlefish environment
-# Description: This script sets up the initial cuttlefist environment,
-#              optionally booting a default cuttlefish release.
-### END INIT INFO
-#
 # Copyright (C) 2017 The Android Open Source Project
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -28,8 +17,6 @@
 # Make sure calls to this script get redirected to systemctl when
 # using systemd
 
-. /lib/lsb/init-functions
-
 if [ -f /etc/default/cuttlefish-host-resources ]; then
     . /etc/default/cuttlefish-host-resources
 fi
-- 
2.34.1