13 lines
241 B
Bash
13 lines
241 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
# Conditionally start the notification daemon
|
||
|
|
||
|
if pgrep noti > /dev/null ; then
|
||
|
echo "Notification daemon already started"
|
||
|
else
|
||
|
echo "Starting notification-daemon"
|
||
|
/usr/lib/notification-daemon/notification-daemon &
|
||
|
fi
|