Change defaut password
This commit is contained in:
8
bonus.sh
8
bonus.sh
@@ -6,7 +6,7 @@
|
||||
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2021/11/07 14:23:18 by gbaconni #+# #+# #
|
||||
# Updated: 2021/11/08 07:44:32 by gbaconni ### lausanne.ch #
|
||||
# Updated: 2021/11/08 22:16:10 by gbaconni ### lausanne.ch #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@@ -55,7 +55,7 @@ ft_php ()
|
||||
|
||||
ft_wordpress ()
|
||||
{
|
||||
password=${1-Born2beRoot}
|
||||
password=${1-Born2beWild}
|
||||
if ! dpkg --get-selections | grep -qP '^wordpress\t+install'
|
||||
then
|
||||
apt-get install -qq -y wordpress links
|
||||
@@ -109,7 +109,7 @@ ft_update ()
|
||||
|
||||
ft_install ()
|
||||
{
|
||||
password=${1-Born2beRoot}
|
||||
password=${1-Born2beWild}
|
||||
ft_mariadb ${password}
|
||||
ft_apache
|
||||
ft_php
|
||||
@@ -127,7 +127,7 @@ main ()
|
||||
return 0
|
||||
;;
|
||||
*)
|
||||
password=${1-Born2beRoot}
|
||||
password=${1-Born2beWild}
|
||||
ft_install ${password}
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user