Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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
nslu2_install_owfs.txt · Last modified: 2011/01/30 00:40 by jap
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki