Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[testudo] fix script installation

gpib links were incorrect
udev rules were missed

Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information...
commit 0d81c02ef80e9e79db849878b496bb15266f1e61 1 parent 67c95b1
@hxw hxw authored
Showing with 10 additions and 2 deletions.
  1. +10 −2 testudo/scripts/BuildGPIB.sh
View
12 testudo/scripts/BuildGPIB.sh
@@ -38,12 +38,20 @@ main()
for d in 1
do
rm -f "/etc/rc${d}.d/K01gpib"
- ln -s ../init.d.gpib "/etc/rc${d}.d/K01gpib"
+ ln -s ../init.d/gpib "/etc/rc${d}.d/K01gpib"
done
for d in 2 3 4 5
do
rm -f "/etc/rc${d}.d/S99gpib"
- ln -s ../init.d.gpib "/etc/rc${d}.d/S99gpib"
+ ln -s ../init.d/gpib "/etc/rc${d}.d/S99gpib"
+ done
+
+ echo setting up udev rules
+ udev='/etc/udev/rules.d'
+ for rule in init-scripts/*.rules
+ do
+ echo installing: ${rule} to: ${udev}
+ install -o root -g root -m 644 "${rule}" "${udev}"/
done
echo running the startup script
Please sign in to comment.
Something went wrong with that request. Please try again.