This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
nslu2_install_owfs [2011/01/29 22:35] jap |
nslu2_install_owfs [2011/01/29 22:38] jap |
||
---|---|---|---|
Line 20: | Line 20: | ||
5. Create startup script ''/etc/init.d/owfs'' | 5. Create startup script ''/etc/init.d/owfs'' | ||
- | #!/bin/sh | + | #!/bin/sh |
- | + | ||
- | casee "$1" in | + | case "$1" in |
- | start) | + | start) |
- | /opt/owfs/bin/owserver -u -p 3000 | + | /opt/owfs/bin/owserver -u -p 3000 |
- | /opt/owfs/bin/owhttpd -u -p 3001 | + | /opt/owfs/bin/owhttpd -u -p 3001 |
- | /opt/owfs -u -m /mnt/1wire | + | /opt/owfs/bin/owfs -u -m /mnt/1wire |
- | ;; | + | ;; |
- | *) | + | *) |
- | echo "Usage: /etc/init.d/owfs {start} | + | echo "Usage: /etc/init.d/owfs {start}" |
- | ;; | + | ;; |
- | esac | + | esac |
- | + | ||
exit 0 | exit 0 | ||
+ | |||
6. Create startup link | 6. Create startup link |