Skip to content

Commit 64ca34d

Browse files
authored
Merge pull request #1141 from dmanlfc/fix-if-binary
fix script binary locations
2 parents d955676 + d059f52 commit 64ca34d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

package/ifupdown-scripts/S40network

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44
#
55

66
# Debian ifupdown needs the /run/network lock directory
7+
# batocera - fix binary locations to /usr/sbin
78
mkdir -p /run/network
89

910
case "$1" in
1011
start)
1112
printf "Starting network: "
12-
/sbin/ifup -a
13+
/usr/sbin/ifup -a
1314
[ $? = 0 ] && echo "OK" || echo "FAIL"
1415
;;
1516
stop)
1617
printf "Stopping network: "
17-
/sbin/ifdown -a
18+
/usr/sbin/ifdown -a
1819
[ $? = 0 ] && echo "OK" || echo "FAIL"
1920
;;
2021
restart|reload)

0 commit comments

Comments
 (0)