Репозитории ALT
S: | 20221126-alt1 |
5.1: | 20071127-alt4 |
4.1: | 20071127-alt0.M41.1 |
4.0: | 20020927-alt4.2 |
3.0: | 20020927-alt2 |
Группа :: Сети/Прочее
Пакет: iputils
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
#!/bin/sh
. /etc/control.d/functions
BINARY=/bin/ping6
new_help public "Any user can execute $BINARY"
new_help netadmin "Only \"netadmin\" group members can execute $BINARY"
new_help restricted "Only root can execute $BINARY"
new_summary 'check if host is up'
new_fmode public 4711 root root
new_fmode netadmin 4710 root netadmin
new_fmode restricted 700 root root
control_fmode "$BINARY" "$*" || exit 1