Skip to content

Commit 5ab11eb

Browse files
committed
fixed sbin path issue
1 parent e962465 commit 5ab11eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/v_add_sys_ip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ iconf='/etc/sysconfig/network-scripts/ifcfg'
6262
rconf='/etc/httpd/conf.d/rpaf.conf'
6363

6464
# Adding ip
65-
ifconfig "$iface" "$ip" netmask "$mask"
65+
/sbin/ifconfig "$iface" "$ip" netmask "$mask"
6666

6767
# Adding startup script
6868
ip_add_startup

bin/v_del_sys_ip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ rconf='/etc/httpd/conf.d/rpaf.conf'
5656
user="$(get_sys_ip_value '$OWNER')"
5757

5858
# Deleting interface
59-
ifconfig "$interface" down
59+
/sbin/ifconfig "$interface" down
6060

6161
# Deleting startup script
6262
rm -f $iconf-$interface

0 commit comments

Comments
 (0)