tfix initscript typo - coffin - secure lan file storage on a device HTML git clone git://parazyd.org/coffin.git DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit 05f5ac344e1b907c372b3b88b28637b7f5316a5d DIR parent 880a2a60fdf3bdbdf2af6cee76aa2da1b74236e5 HTML Author: parazyd <parazyd@dyne.org> Date: Thu, 6 Oct 2016 14:50:41 +0200 fix initscript typo Diffstat: M extra/coffin-initd | 2 +- M extra/genssl.sh | 4 ++-- M extra/setup_features.sh | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) --- DIR diff --git a/extra/coffin-initd b/extra/coffin-initd t@@ -6,7 +6,7 @@ ### END INIT INFO DAEMON= -AME=coffin +NAME=coffin DESC="coffin daemon" test -x $DAEMON || exit 0 DIR diff --git a/extra/genssl.sh b/extra/genssl.sh t@@ -18,7 +18,7 @@ # You should have received a copy of the GNU General Public License # along with this source code. If not, see <http://www.gnu.org/licenses/>. -# generate ssl cert for webdav +## generate ssl cert for webdav openssl req -x509 -nodes -days 3650 -newkey rsa:4096 \ -keyout coffin.key -out coffin.pem t@@ -28,7 +28,7 @@ fprint=$(openssl x509 -noout -in ./coffin.pem -fingerprint \ cat <<EOM ############################# -Successfully generated coffin's SSL certificate! +Successfully generated coffin's webdav ssl certificate! The fingerprint is: [0;32m${fprint} [0mCompare it and/or set it as trusted when you connect to coffin. ############################# DIR diff --git a/extra/setup_features.sh b/extra/setup_features.sh t@@ -26,10 +26,12 @@ if [[ $1 == install ]]; then $(grep '^coffin' /etc/group) || groupadd coffin [[ $features =~ webdav ]] && setup-webdav on [[ $features =~ ssh ]] && setup-ssh on + #enable-sudoers elif [[ $1 == uninstall ]]; then $(grep '^coffin' /etc/group) && groupdel coffin [[ $features =~ webdav ]] && setup-webdav off [[ $features =~ ssh ]] && setup-ssh off + #disable-sudoers fi