Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37867998
en ru br
ALT Linux repositórios
S:5.0-alt3
5.0: 3.2-alt1
4.1: 3.0-alt0.1
4.0: 3.0-alt0.1

Group :: Sistema/Base
RPM: lsb

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

#!/bin/sh
# very basic LSB compliance script
# Stew Benedict <sbenedict@mandriva.com>
# according to LSB "Installation and Removal of init.d Files"
# the file should be in /etc/init.d, strip the path and use chkconfig
if [ -z $1 ]; then
echo "usage $0 path_to_init_script (/etc/init.d/foo)"
exit 1
else
init_name=`basename $1`
if [ -z $init_name ]; then
echo "cannot seperate path from script name for $1"
exit 1
fi
/sbin/chkconfig --add $init_name
fi
 
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