Skip to content

Commit b6b7eac

Browse files
committed
replaced underscore with dash in api syscalls
1 parent 7ed705c commit b6b7eac

File tree

283 files changed

+438
-412
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

283 files changed

+438
-412
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ sync_cron_jobs
7272
increase_user_value $user '$U_CRON_JOBS'
7373

7474
# Restart crond
75-
$BIN/v_restart_cron "$EVENT"
75+
$BIN/v-restart-cron "$EVENT"
7676

7777
# Logging
7878
log_history "added cron job $job"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ sync_cron_jobs
4545
#----------------------------------------------------------#
4646

4747
# Restart crond
48-
$BIN/v_restart_cron "$EVENT"
48+
$BIN/v-restart-cron "$EVENT"
4949

5050
# Logging
5151
log_history "enabled cron reporting"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# options: user database dbuser dbpass type [host] [charset]
44
#
55
# The function creates the database concatenating username and user_db.
6-
# Supported yypes of databases you can get using v_list_sys_config script.
6+
# Supported yypes of databases you can get using v-list-sys-config script.
77
# If the host isn't stated and there are few hosts configured on the server,
88
# then the host will be defined by one of three algorithms. "First" will choose
99
# the first host in the list. "Random" will chose the host by a chance.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ increase_user_value "$user" '$U_DNS_RECORDS' "$records"
133133

134134
# Restart named
135135
if [ "$restart" != 'no' ]; then
136-
$BIN/v_restart_dns "$EVENT"
136+
$BIN/v-restart-dns "$EVENT"
137137
fi
138138

139139
# Logging
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ increase_user_value "$user" '$U_DNS_RECORDS'
8282

8383
# Restart named
8484
if [ "$restart" != 'no' ]; then
85-
$BIN/v_restart_dns "$EVENT"
85+
$BIN/v-restart-dns "$EVENT"
8686
fi
8787

8888
# Logging
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,23 @@ get_domain_values 'web'
4949
# Check if it a simple domain
5050
if [ $(echo -e "${dom_alias//\./\n}" | wc -l) -le 2 ]; then
5151
if [ ! -e "$USER_DATA/dns/$dom_alias.conf" ]; then
52-
$BIN/v_add_dns_domain $user $dom_alias $IP '' '' '' '' '' $restart
52+
$BIN/v-add-dns-domain $user $dom_alias $IP '' '' '' '' '' $restart
5353
fi
5454
else
5555
# Check subdomain
5656
sub=$(echo "$dom_alias" | cut -f1 -d . -s)
5757
dom=$(echo "$dom_alias" | sed -e "s/^$sub.//" )
5858
if [ ! -e "$USER_DATA/dns/$dom.conf" ]; then
59-
$BIN/v_add_dns_domain $user $dom $IP '' '' '' '' '' $restart
60-
$BIN/v_add_dns_domain_record $user $dom "$sub" A $IP '' '' $restart
59+
$BIN/v-add-dns-domain $user $dom $IP '' '' '' '' '' $restart
60+
$BIN/v-add-dns-domain-record $user $dom "$sub" A $IP '' '' $restart
6161
else
6262
if [ "$sub" == '*' ]; then
6363
rec=$(grep -w "RECORD='\*'" $USER_DATA/dns/$dom.conf)
6464
else
6565
rec=$(grep -w "RECORD='$sub'" $USER_DATA/dns/$dom.conf)
6666
fi
6767
if [ -z "$rec" ]; then
68-
$BIN/v_add_dns_domain_record $user $dom "$sub" A $IP '' '' $restart
68+
$BIN/v-add-dns-domain-record $user $dom "$sub" A $IP '' '' $restart
6969
fi
7070
fi
7171
fi

0 commit comments

Comments
 (0)