[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Pickle



	Heres my situation, any help is appreciated.  I've got a
debian/slink machine currently running some network services.  This
machine's Ethernet card is a PCMCIA device.  Currently (and until Jan
1st)  I'm 1200 kilometers away from the machine.  I'm trying to upgrade
the software on the machine, and I'm running into this problem.  Dpkg
wants to shut down PCMCIA in order to install/unpack either pcmcia-cs or
pcmcia-modules.  If it shuts down the cardmgr I cannot get in the machine
to install the package, and turn the card services back on.  Here;s what
I'm wondering.  Can I tell dpkg to...

1. install this package, then that package without user intervention.
2. keep the config files as they are, since I won't have a network
   connection, I can't be there to hit 'n'
3. restart the card services when your done all this, or at least do a
   reboot.

	I was thinking something like
(dpkg -i pcmcia-cs.<ver>.deb \
 dpkg -i pcmcia-modules.<ver>.deb \
 /etc/init.d/pcmcia force-reload) &

	Unfortunately this does not fix the user interaction part.  Anyone
got a better idea?

		TIA,
			mike...


Reply to: