summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-09-10 11:03:38 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-09-10 11:03:38 -0500
commite59c9f640ac0e4021e0d31a8d2f647e5bd313939 (patch)
tree45d0a1e2e85c034b74bc9375e3b435f966038f80
parentudev: create a function to locate the binary (diff)
downloadudev-gentoo-scripts-e59c9f640ac0e4021e0d31a8d2f647e5bd313939.tar.gz
udev-gentoo-scripts-e59c9f640ac0e4021e0d31a8d2f647e5bd313939.tar.bz2
udev-gentoo-scripts-e59c9f640ac0e4021e0d31a8d2f647e5bd313939.zip
udev: make bins variable local
-rw-r--r--init.d/udev2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/udev b/init.d/udev
index 8106a20..458a737 100644
--- a/init.d/udev
+++ b/init.d/udev
@@ -15,7 +15,7 @@ depend()
}
get_udevd_binary() {
- bins="/sbin/udevd /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd"
+ local bins="/sbin/udevd /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd"
for f in ${bins}; do
if [ -x "$f" -a ! -L "$f" ]; then
command="$f"