]> code.delx.au - pulseaudio/commitdiff
make loading of a few more modules non-fatal
authorLennart Poettering <lennart@poettering.net>
Thu, 27 Mar 2008 21:04:25 +0000 (21:04 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 27 Mar 2008 21:04:25 +0000 (21:04 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2134 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/daemon/default.pa.in

index 56904f5602d8a3ab6fa3f5a6139aaec1b7982a42..c1324a03e427557bcd6343adaf274077a7da1f75 100755 (executable)
@@ -46,7 +46,9 @@ load-module module-detect
 .endif
 
 ### Load several protocols
+.ifexists module-esound-protocol-unix@PA_SOEXT@
 load-module module-esound-protocol-unix
+.endif
 load-module module-native-protocol-unix
 
 ### Network access (may be configured with paprefs, so leave this commented
@@ -80,7 +82,9 @@ load-module module-suspend-on-idle
 
 ### Publish connection data in the X11 root window
 .ifexists module-x11-publish@PA_SOEXT@
+.nofail
 load-module module-x11-publish
+.fail
 .endif
 
 ### Register ourselves in the X11 session manager
@@ -92,7 +96,9 @@ load-module module-x11-publish
 ### Please keep in mind that the modules configured by paprefs might conflict with manually
 ### loaded modules.
 .ifexists module-gconf@PA_SOEXT@
+.nofail
 load-module module-gconf
+.fail
 .endif
 
 ### Make some devices default