configure_localdev()?

Warren Togami <[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
ltsp-setup:
configure_localdev() {
     boolean_is_true "$LOCALDEV" && mkdir -p /var/run/drives
}

ltsp-init-common:
configure_localdev() {
     if boolean_is_true "$LOCALDEV" ; then
         # Make this sessions secret auth cookie for ltspfs
         mcookie > /var/run/ltspfs_token
         /usr/bin/ltspfsd
         # cdrom devices are handled by the cdpingerponger
         /usr/sbin/cdpinger cdrom # default for usb cdroms

         # and start one for every additional cdrom device
         if [ -L /dev/cdrom?* ];then
             for CDDEV in $(ls /dev/cdrom?*); do
                 /usr/sbin/cdpinger $(basename ${CDDEV})
             done
         fi
     fi
}

Are either of these needed?

* Ogra pointed out that ltspfs add_fstab_entry already creates that 
directory as needed.
* Apparently ltsp-setup hasn't been using the ltsp-init-common version. 
  Is this code actually harmful?

Warren Togami
[email protected]

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.