mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 22:04:00 -07:00
fixed sbin path issue
This commit is contained in:
parent
e9624651d4
commit
5ab11ebc68
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ iconf='/etc/sysconfig/network-scripts/ifcfg'
|
||||||
rconf='/etc/httpd/conf.d/rpaf.conf'
|
rconf='/etc/httpd/conf.d/rpaf.conf'
|
||||||
|
|
||||||
# Adding ip
|
# Adding ip
|
||||||
ifconfig "$iface" "$ip" netmask "$mask"
|
/sbin/ifconfig "$iface" "$ip" netmask "$mask"
|
||||||
|
|
||||||
# Adding startup script
|
# Adding startup script
|
||||||
ip_add_startup
|
ip_add_startup
|
||||||
|
|
|
@ -56,7 +56,7 @@ rconf='/etc/httpd/conf.d/rpaf.conf'
|
||||||
user="$(get_sys_ip_value '$OWNER')"
|
user="$(get_sys_ip_value '$OWNER')"
|
||||||
|
|
||||||
# Deleting interface
|
# Deleting interface
|
||||||
ifconfig "$interface" down
|
/sbin/ifconfig "$interface" down
|
||||||
|
|
||||||
# Deleting startup script
|
# Deleting startup script
|
||||||
rm -f $iconf-$interface
|
rm -f $iconf-$interface
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue