diff --git a/debian/postinst b/debian/postinst index b204e28..e85e9c1 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,4 +1,6 @@ #!/bin/sh +# SPDX-License-Identifier: Orange-InnerSource + set -e case "$1" in diff --git a/debian/postrm b/debian/postrm index f8355bb..642ef06 100644 --- a/debian/postrm +++ b/debian/postrm @@ -1,4 +1,6 @@ #!/bin/sh +# SPDX-License-Identifier: Orange-InnerSource + set -e case "$1" in diff --git a/debian/preinst b/debian/preinst index 4554297..5f28c08 100644 --- a/debian/preinst +++ b/debian/preinst @@ -1,4 +1,6 @@ #!/bin/sh +# SPDX-License-Identifier: Orange-InnerSource + set -e case "$1" in diff --git a/debian/prerm b/debian/prerm index 8c7300c..63fb99a 100644 --- a/debian/prerm +++ b/debian/prerm @@ -1,4 +1,6 @@ #!/bin/sh +# SPDX-License-Identifier: Orange-InnerSource + set -e case "$1" in diff --git a/usr/sbin/pkcs11_generate_uids b/usr/sbin/pkcs11_generate_uids index 6552844..313ea8e 100755 --- a/usr/sbin/pkcs11_generate_uids +++ b/usr/sbin/pkcs11_generate_uids @@ -1,7 +1,16 @@ #!/bin/bash -# -# Written by Michel Decima -# Copyright 2021 Orange +# +# Software Name : orange-yourdev-login +# SPDX-License-Identifier: Orange-InnerSource +# SPDX-FileCopyrightText: Copyright (c) 2020-2022 Orange SA +# +# This software is confidential and proprietary information of Orange SA. +# You shall not disclose such Confidential Information and shall not copy, +# use or distribute it in whole or in part without the prior written +# consent of Orange SA. +# +# Author: Michel Decima +# # # Generate uid mapping for pam_pkcs11 using /etc/passwd # diff --git a/usr/share/orange-yourdev-login/login-password b/usr/share/orange-yourdev-login/login-password index 03f97d2..08042e9 100755 --- a/usr/share/orange-yourdev-login/login-password +++ b/usr/share/orange-yourdev-login/login-password @@ -1,9 +1,18 @@ #!/bin/bash # -# Written by Michel Decima -# Copyright (C) 2020 Orange +# Software Name : orange-yourdev-login +# SPDX-License-Identifier: Orange-InnerSource +# SPDX-FileCopyrightText: Copyright (c) 2020-2022 Orange SA +# +# This software is confidential and proprietary information of Orange SA. +# You shall not disclose such Confidential Information and shall not copy, +# use or distribute it in whole or in part without the prior written +# consent of Orange SA. +# +# Author: Michel Decima # + (( EUID == 0 )) || { echo >&2 "Not root." ; exit 1 ; } if [ -e /etc/pam.d/gdm-smartcard-sssd-or-password ] ; then diff --git a/usr/share/orange-yourdev-login/login-pki b/usr/share/orange-yourdev-login/login-pki index 791f3aa..f0e9429 100755 --- a/usr/share/orange-yourdev-login/login-pki +++ b/usr/share/orange-yourdev-login/login-pki @@ -1,9 +1,18 @@ #!/bin/bash # -# Written by Michel Decima -# Copyright (C) 2020 Orange +# Software Name : orange-yourdev-login +# SPDX-License-Identifier: Orange-InnerSource +# SPDX-FileCopyrightText: Copyright (c) 2020-2022 Orange SA +# +# This software is confidential and proprietary information of Orange SA. +# You shall not disclose such Confidential Information and shall not copy, +# use or distribute it in whole or in part without the prior written +# consent of Orange SA. +# +# Author: Michel Decima # + (( EUID == 0 )) || { echo >&2 "Not root." ; exit 1 ; } update-alternatives --set gdm-smartcard \