[07:17] anyone know a way to list all the emitted events on a system? === keesj_ is now known as keesj === h\h is now known as haraldh === stimble__ is now known as stimble [18:49] Hi [18:49] I've a small question about upstart + scripts [18:50] how to disable the stop on error stuff ? [18:50] I mean ie in the script I'm doing I've things like rmmod mymodule [18:50] but if mymodule is not loaded... then the script stops :( [18:51] It’s just sh, you could do e.g. ‘rmmod foo || :’ [18:52] Also, ‘modprobe -r foo’ doesn’t fail if foo isn’t loaded. [18:53] I've same problems with some stuff like PSB_EXISTS=$(lsmod|grep psb) [18:54] for some reasons this does not work if psb is not in the list [18:55] in fact behaviour in upstart is the same as when using set -e in a shell script [18:55] so how to disable the set -e ? [18:55] for upstart for my given script ? [18:57] Rather don’t disable -e but write code that embraces the error handling you get from -e. [18:58] so things like that: PSB_EXISTS=$(lsmod|grep psb) [18:58] how can I write clean code ? :) [19:00] For instance, if lsmod | grep -q '^psb '; then ...; else ...; fi. But why are you doing that in the first place? [19:02] ok thx [19:03] in fact I'm adding poulsbo (intel GMA500) support for an ubuntu live cd [19:03] but I want to keep that livecd usable for non-GMA500 box [19:06] thx ion [19:06] will check soon [19:08] Kernel modules should generally be loaded by udev. [19:08] I know [19:09] the problem is that poulsbo sucks :) [19:09] it use a modified drm.ko [19:09] which does not work with regular devices [19:09] so needs to rename based on the board === robbiew is now known as robbiew_