Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Dmix, Save volume settings?< Next Oldest | Next Newest >
humpty Offline





Group: Members
Posts: 655
Joined: Sep. 2005
Posted: Mar. 05 2006,18:13 QUOTE

Any way to auto-save volume settings in Dmix?
(keep having to set them after boot).
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 06 2006,02:48 QUOTE

That's a good idea.

Maybe it can be added to a future version.
Back to top
Profile PM 
humpty Offline





Group: Members
Posts: 655
Joined: Sep. 2005
Posted: Mar. 07 2006,10:03 QUOTE

(after much searching)
This will generate the restore file which i can run after.

vol_save.sh
-------------
#!/bin/bash

# save volume settings

umix -q | awk '{print "umix "$1 " " $2 $3}' | grep [0123456789] > vol_restore.sh

sed '1i#!/bin/bash' vol_restore.sh > tmpfile
mv tmpfile vol_restore.sh

chmod 775 vol_restore.sh
------------
Back to top
Profile PM 
e_bachmann Offline





Group: Members
Posts: 1
Joined: Mar. 2006
Posted: Mar. 25 2006,20:25 QUOTE

Why not use:

umix -s -f umix.sav

umix -l -f umix.sav

:;):
Back to top
Profile PM 
humpty Offline





Group: Members
Posts: 655
Joined: Sep. 2005
Posted: Mar. 30 2006,14:13 QUOTE

great! :laugh:
Back to top
Profile PM 
6 replies since Mar. 05 2006,18:13 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Dmix

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code