mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
Defining PATH for root commands
This commit is contained in:
parent
08bdff8ba3
commit
98752897f0
8 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
source $VESTA/conf/vesta.conf
|
||||
PATH="$PATH:/usr/local/sbin:/sbin:/usr/sbin:/root/bin"
|
||||
|
||||
send_email_report() {
|
||||
email=$(grep CONTACT $VESTA/data/users/admin/user.conf)
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
source $VESTA/conf/vesta.conf
|
||||
PATH="$PATH:/usr/local/sbin:/sbin:/usr/sbin:/root/bin"
|
||||
|
||||
send_email_report() {
|
||||
if [ -e '/etc/named.conf' ]; then
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
source $VESTA/conf/vesta.conf
|
||||
PATH="$PATH:/usr/local/sbin:/sbin:/usr/sbin:/root/bin"
|
||||
|
||||
send_email_report() {
|
||||
email=$(grep CONTACT $VESTA/data/users/admin/user.conf)
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
source $VESTA/conf/vesta.conf
|
||||
PATH="$PATH:/usr/local/sbin:/sbin:/usr/sbin:/root/bin"
|
||||
|
||||
send_email_report() {
|
||||
email=$(grep CONTACT $VESTA/data/users/admin/user.conf)
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
source $VESTA/conf/vesta.conf
|
||||
PATH="$PATH:/usr/local/sbin:/sbin:/usr/sbin:/root/bin"
|
||||
|
||||
send_email_report() {
|
||||
email=$(grep CONTACT $VESTA/data/users/admin/user.conf)
|
||||
|
|
|
@ -14,6 +14,7 @@ service=$1
|
|||
|
||||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
PATH="$PATH:/usr/local/sbin:/sbin:/usr/sbin:/root/bin"
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
source $VESTA/conf/vesta.conf
|
||||
PATH="$PATH:/usr/local/sbin:/sbin:/usr/sbin:/root/bin"
|
||||
|
||||
send_email_report() {
|
||||
email=$(grep CONTACT $VESTA/data/users/admin/user.conf)
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
source $VESTA/conf/vesta.conf
|
||||
PATH="$PATH:/usr/local/sbin:/sbin:/usr/sbin:/root/bin"
|
||||
|
||||
send_email_report() {
|
||||
email=$(grep CONTACT $VESTA/data/users/admin/user.conf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue