- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
service() {
[ -f "/etc/init.d/$1" ] || {
echo "service "'"'"$1"'"'" not found, the following services are available:"
ls "/etc/init.d"
return 1
}
/etc/init.d/$@
}
Комментарии (0) RSS
Добавить комментарий