diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2009-04-17 13:17:58 +0200 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2009-04-17 13:17:58 +0200 |
commit | 1bef3dca5b9ab404e017037ed309907e1ac796c3 (patch) | |
tree | 0fbe617fad18bab46eaf6b0e5fb75956cf5732f4 /wmiistatus.init | |
parent | e4c017893c409b939789ca959f8668a648a45682 (diff) |
Rename wmiistatus* to i3status*
Diffstat (limited to 'wmiistatus.init')
-rwxr-xr-x | wmiistatus.init | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/wmiistatus.init b/wmiistatus.init deleted file mode 100755 index fa30339..0000000 --- a/wmiistatus.init +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -### BEGIN INIT INFO -# Provides: wmiistatus -# Required-Start: -# Required-Stop: -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 -# Short-Description: little application to fill up wmii's status bar -# Description: little application to fill up wmii's status bar -### END INIT INFO - -# For the pidfile, you must be root. wmiistatus itself runs as user just fine -[ $(id -ru) -eq 0 ] || { echo "You need to be root"; exit 1; } - -. /lib/lsb/init-functions - -case "$1" in -start) log_daemon_msg "Starting wmii status bar filler" "wmiistatus" - start-stop-daemon --start --background --quiet --make-pidfile --pidfile /var/run/wmiistatus.pid --name wmiistatus --startas /usr/bin/wmiistatus - log_end_msg $? - ;; -stop) log_daemon_msg "Stopping wmii status bar filler" "wmiistatus" - start-stop-daemon --stop --quiet --pidfile /var/run/wmiistatus.pid --name wmiistatus - log_end_msg $? - ;; -restart|reload|force-reload) log_daemon_msg "Restarting wmii status bar filler" "wmiistatus" - start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/wmiistatus.pid --name wmiistatus - start-stop-daemon --start --background --quiet --make-pidfile --pidfile /var/run/wmiistatus.pid --name wmiistatus --startas /usr/bin/wmiistatus - ;; -*) log_action_msg "Usage: $0 {start|stop|restart|reload|force-reload}" - exit 2 - ;; -esac -exit 0 |