commit 05f5ac344e1b907c372b3b88b28637b7f5316a5d
parent 880a2a60fdf3bdbdf2af6cee76aa2da1b74236e5
Author: parazyd <parazyd@dyne.org>
Date: Thu, 6 Oct 2016 14:50:41 +0200
fix initscript typo
Diffstat:
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/extra/coffin-initd b/extra/coffin-initd
@@ -6,7 +6,7 @@
### END INIT INFO
DAEMON=
-AME=coffin
+NAME=coffin
DESC="coffin daemon"
test -x $DAEMON || exit 0
diff --git a/extra/genssl.sh b/extra/genssl.sh
@@ -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
@@ -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.
#############################
diff --git a/extra/setup_features.sh b/extra/setup_features.sh
@@ -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