#!/bin/sh ### BEGIN INIT INFO # Provides: llxcfg-biblioteca # Required-Start: $local_fs $remote_fs $network $syslog # Required-Stop: $local_fs $remote_fs $network $syslog # Default-Start: 2 3 4 5 . # Default-Stop: 0 1 6 . # Short-Description: LliureX biblioteca test # Description: delays gdm start until the required services # are running ### END INIT INFO # Kill me on all errors set -e SRV_TOOL="/usr/sbin/lliurex-biblioteca" case "$1" in start|restart) [ ! -x $SRV_TOOL ] || $SRV_TOOL enable ;; stop) [ ! -x $SRV_TOOL ] || $SRV_TOOL disable exit 0 ;; force-reload) # nothing to do (again) exit 0 ;; *) # nothing to do exit 0 ;; esac exit 0