diff options
author | 2015-09-10 11:03:38 -0500 | |
---|---|---|
committer | 2015-09-10 11:03:38 -0500 | |
commit | e59c9f640ac0e4021e0d31a8d2f647e5bd313939 (patch) | |
tree | 45d0a1e2e85c034b74bc9375e3b435f966038f80 | |
parent | udev: create a function to locate the binary (diff) | |
download | udev-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/udev | 2 |
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" |