#!/bin/sh ### BEGIN INIT INFO # Provides: llxcfg-pamnss-service # 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 pamnss service 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-pamnss-service" case "$1" in start|restart) [ ! -x $SRV_TOOL ] || $SRV_TOOL enable ;; stop) # nothing to do (again) exit 0 ;; force-reload) # nothing to do (again) exit 0 ;; *) # nothing to do exit 0 ;; esac exit 0