diff options
Diffstat (limited to 'hicn-light/config')
-rw-r--r-- | hicn-light/config/hicn-light.service | 2 | ||||
-rwxr-xr-x | hicn-light/config/post | 2 | ||||
-rwxr-xr-x | hicn-light/config/postinst | 4 | ||||
-rwxr-xr-x | hicn-light/config/prerm | 4 | ||||
-rwxr-xr-x | hicn-light/config/preun | 4 |
5 files changed, 11 insertions, 5 deletions
diff --git a/hicn-light/config/hicn-light.service b/hicn-light/config/hicn-light.service index f269b2f26..79d5ced93 100644 --- a/hicn-light/config/hicn-light.service +++ b/hicn-light/config/hicn-light.service @@ -1,4 +1,4 @@ -# Copyright (c) 2017-2019 Cisco and/or its affiliates. +# Copyright (c) 2021 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: diff --git a/hicn-light/config/post b/hicn-light/config/post index 91f596050..f2f566426 100755 --- a/hicn-light/config/post +++ b/hicn-light/config/post @@ -2,4 +2,4 @@ if pidof systemd; then systemctl enable hicn-light -fi +fi
\ No newline at end of file diff --git a/hicn-light/config/postinst b/hicn-light/config/postinst index dced2a093..f2f566426 100755 --- a/hicn-light/config/postinst +++ b/hicn-light/config/postinst @@ -1,3 +1,5 @@ #!/bin/bash -systemctl enable hicn-light
\ No newline at end of file +if pidof systemd; then + systemctl enable hicn-light +fi
\ No newline at end of file diff --git a/hicn-light/config/prerm b/hicn-light/config/prerm index 4584c7057..c1d3d55a1 100755 --- a/hicn-light/config/prerm +++ b/hicn-light/config/prerm @@ -1,3 +1,5 @@ #!/bin/bash -systemctl disable hicn-light
\ No newline at end of file +if pidof systemd; then + systemctl disable hicn-light +fi
\ No newline at end of file diff --git a/hicn-light/config/preun b/hicn-light/config/preun index 4584c7057..c1d3d55a1 100755 --- a/hicn-light/config/preun +++ b/hicn-light/config/preun @@ -1,3 +1,5 @@ #!/bin/bash -systemctl disable hicn-light
\ No newline at end of file +if pidof systemd; then + systemctl disable hicn-light +fi
\ No newline at end of file |