On Mon, 5 Nov 2012 15:03:52 -0500 Dave Reisner <d@falconindy.com> wrote:
On Mon, Nov 05, 2012 at 08:22:33PM +0100, coderkun wrote:
Am Montag, den 05.11.2012, 18:22 +0000 schrieb P .NIKOLIC:
How do i check to see if it is systemd or not
$ printf "%d" `systemd-notify --booted`
systemd-notify doesn't print anything. If you really want to print something:
$ systemd-notify --booted && echo "booted on systemd"
or
$ systemd-notify --booted; echo $?
man systemd-notify: “[…] --booted Returns 0 if the system was booted up with systemd, non-zero otherwise. […]”
Note the "returns", not "prints".
d
Hi All .. Well after a little messing now on systemd , And the strange thing is that now ALL the usb flash drives i have work not just the older ones but the new SanDisk as well Explain that one someone . I think this can be classed as solved right now thanks all Pete . -- Linux 7-of-9 3.6.5-1-ARCH #1 SMP PREEMPT Wed Oct 31 20:57:39 CET 2012 x86_64 GNU/Linux