You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mpd-launcher 293B

5 vuotta sitten
1234567891011
  1. #!/usr/bin/zsh
  2. if [ ! -f ~/.mpd/mpd.pid ]; then
  3. if [ ! -f ~/.mpd/mpd.conf ]; then
  4. "No mpd configuration found! Probably not the right user: $(whoami)";
  5. exit 1;
  6. fi
  7. mpd ~/.mpd/mpd.conf > /tmp/mpd.log 2>&1 &;
  8. sleep 2;
  9. ~/.scripts/mpd-adblock > /tmp/mpd-adblock.log 2>&1 &;
  10. fi