Skip to content

Commit e9354b3

Browse files
author
bisubus
committed
Fix script comments for consistency
1 parent 8dca2d7 commit e9354b3

26 files changed

+63
-46
lines changed

bin/v-add-cron-reports

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# info: add cron reports
3-
# options: user
3+
# options: USER
44
#
55
# The script for enabling reports on cron tasks and administrative
66
# notifications.

bin/v-add-letsencrypt-host

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# info: add letsencrypt for host and backend
3-
# options:
3+
# options: NONE
44
#
55
# The function check and validates the backend certificate and generate
66
# a new let's encrypt certificate.

bin/v-add-sys-filemanager

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# info: add file manager functionality to Hestia Control Panel
3-
# options: none
3+
# options: NONE
44
#
55
# The function installs the File Manager on the server
66
# for access through the Web interface.

bin/v-add-sys-theme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# info: install theme from local source or GitHub.
3-
# options: theme [MODE] [ACTIVE]
4-
3+
# options: THEME [MODE] [ACTIVE]
4+
#
55
# The function for installing a custom theme or downloading one
66
# from the HestiaCP theme repository.
77

bin/v-add-user-ssh-key

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22
# info: add ssh key
3-
# options: USER key
3+
# options: USER KEY
44
#
5-
# Function check if $user/.ssh/authorized_keys exists and create it
5+
# Function check if $user/.ssh/authorized_keys exists and create it.
66
# After that it append the new key(s)
77

88
#----------------------------------------------------------#

bin/v-change-sys-db-alias

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#!/bin/bash
22
# info: change phpmyadmin/phppgadmin alias url
3-
# options: type alias
4-
# example: v-change-sys-db-alias pma phpmyadmin
5-
# Sets phpMyAdmin alias to phpmyadmin
3+
# options: TYPE ALIAS
64
#
7-
# example: v-change-sys-db-alias pga phppgadmin
8-
# Sets phpPgAdmin alias to phppgadmin
5+
# example: v-change-sys-db-alias pma phpmyadmin
6+
# # Sets phpMyAdmin alias to phpmyadmin
7+
#
8+
# example: v-change-sys-db-alias pga phppgadmin
9+
# # Sets phpPgAdmin alias to phppgadmin
910
#
1011
# This function changes the database editor url in
1112
# apache2 or nginx configuration.

bin/v-change-sys-demo-mode

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22
# info: enable or disable demo mode
33
# options: ACTIVE
4+
#
45
# This function will set the demo mode variable,
56
# which will prevent usage of certain v-scripts in the backend
67
# and prevent modification of objects in the control panel.
7-
#
88
# It will also disable virtual hosts for Apache and NGINX
99
# for domains which have been created.
1010

bin/v-change-sys-theme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22
# info: update web templates
3+
# options: NONE
34
#
45
# The function for changing the currently active system theme.
56

bin/v-change-user-php-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# info: add php version to .bash_aliases
33
# options: USER VERSION
4-
4+
#
55
# add line to .bash_aliases to set default php incase of multiPHP
66

77

bin/v-change-user-role

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
# info: updates user role
33
# options: USER ROLE
4+
#
5+
# The function changes user's role.
46

57
#----------------------------------------------------------#
68
# Variable&Function #

0 commit comments

Comments
 (0)