#!/bin/sh

# Stoppt isdn System

PATH="/bin"

CTRL=/usr/sbin/isdnctrl
LOGGER=/usr/bin/logger

test -f /var/start/force-online &&
{
	$LOGGER -p local3.debug "Online wird aufgezwungen"
	exit 1
}

test -f /var/start/offline &&
{
	$LOGGER -p local3.debug "System ist bereits off"
	exit 1
}

$LOGGER -p local3.info "System off"
touch /var/start/offline

/usr/bin/sudo /etc/init.d/isdnutils stop &> /dev/null

exit 0

Archiviert am 14.02.2026
patent_button.gif valid-html401.png elektra.jpg permaplant.png fsfe-logo.png valid-css.png vim.gif anybrowser.gif