Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37815976
en ru br
ALT Linux repositórios
S:1.44.0-alt2
5.0: 0.7.1-alt5.M50.2
4.1: 0.7.1-alt5.M41.5

Group :: Sistema/Configurações/Rede
RPM: NetworkManager

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

#!/bin/sh
# Try to mount network filesystems.

IP=/sbin/ip
CHKCONFIG=/sbin/chkconfig
SERVICE=/sbin/service

case "$2" in
up)
$CHKCONFIG netfs 2>/dev/null &&
$SERVICE netfs reload >/dev/null 2>&1 ||:
;;
down)
# "down" action runs when interface already down,
# so it is too late to unmount network filesystems at that time.
# And there is no "pre-down" action yet.
# See ALT bug #27013.

# [ $($IP route show | wc -l) -eq 0 ] &&
# $SERVICE netfs status >/dev/null 2>&1 &&
# $SERVICE netfs stop >/dev/null 2>&1 ||:
;;
esac
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009