gsm: run in background until gsmd properly daemonizes
authorMichael Lauer <mickey@vanille-media.de>
Mon, 19 Mar 2007 14:32:43 +0000 (14:32 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Mon, 19 Mar 2007 14:32:43 +0000 (14:32 +0000)
packages/gsm/files/fic-gta01/gsmd

index c835e64..c3ebb10 100644 (file)
@@ -51,7 +51,7 @@ start() {
                mkdir -fp /usr/spool/uucp
                chown uucp.uucp /usr/spool/uucp
                stty -F /dev/ttySAC0 crtscts
-               gsmd -p ${GSM_DEV} ${GSMD_OPTS}
+               gsmd -p ${GSM_DEV} ${GSMD_OPTS} >/tmp/gsm.log 2>&1 &
                echo "success"
        else
            # User needs to symlink ${GPS_DEV} to the right thing