On shutdown sync is also your friend sync; sleep 3; halt;
if you don't want the patch running as root (if on network) then sudo the shutdown script. On Fri, 22 Jun 2007 21:03:02 +0200 Derek Holzer <[EMAIL PROTECTED]> wrote: > Hi Ben, Alexandre, > > I think Alex is worried about his file system. The answer is simple: > > 1) Mount all drives read-only in /etc/fstab > 2) Put a startup script so that whenever the machine is booted, it > starts your patch (check PD archives for this, there was lots of > discussion. My solution is pasted below***) > 3) Museum/gallery people can *never* be bothered to learn how to > start/stop things safely, so if you do the above they can hit the power > button/turn off the circuitbreaker/pull the plug/do whatever to it every > night and you shouldn't have any problems. I've run several > installations in this way before. > > best, > d. > > *** I used .xinitrc to start everything: > > #~/.xinitrc > # make sure your system is set up so that X starts when the machine > boots, and it autologs you as this user! > # first set LADSPA_PATH for [plugin~] > # open alsamixer to set soundcard levels > # make sure jackd isn't running already by killing it > # start jackd [if PD uses it in your case] > # start pd [optional: use -open /path/to/installation.patch.pd if it's > not in your ~/.pdrc or ~/.pdsettings] > > export LADSPA_PATH=/usr/lib/ladspa > fluxbox & > xterm -exec alsamixer & > killall jackd & > jackd -d alsa r 44100 & > pd > > # end ~/.xinitrc > > B. Bogart wrote: > > > Are you worried about wearing out the HW? (mechanical parts?) > > >> The whole idea behind this is to avoid to suddenly turn off > >> the computer, which would probably corrupt the file system at some > >> point. Of course I use GNU/Linux : probably Ubuntu Server or Debian. > > > -- > derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista > ---Oblique Strategy # 169: > "Use filters" > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list -- Use the source _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
