mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -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'
|
||||
|
||||
# Adding ip
|
||||
ifconfig "$iface" "$ip" netmask "$mask"
|
||||
/sbin/ifconfig "$iface" "$ip" netmask "$mask"
|
||||
|
||||
# Adding startup script
|
||||
ip_add_startup
|
||||
|
|
|
@ -56,7 +56,7 @@ rconf='/etc/httpd/conf.d/rpaf.conf'
|
|||
user="$(get_sys_ip_value '$OWNER')"
|
||||
|
||||
# Deleting interface
|
||||
ifconfig "$interface" down
|
||||
/sbin/ifconfig "$interface" down
|
||||
|
||||
# Deleting startup script
|
||||
rm -f $iconf-$interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue