ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Не срабатывает скрипт numlock
@ 2003-11-21 12:03 Николай
  2003-11-23  0:12 ` "Алексей Авдеев"
  0 siblings, 1 reply; 2+ messages in thread
From: Николай @ 2003-11-21 12:03 UTC (permalink / raw)
  To: community

Всему уважаемому сообществу здрасть.
Помогите разобраться со скриптом numlock из /etc/X11/xinit.d
В изначальном варианте он имеет следующий вид:
#!/bin/sh
 -f /var/lock/subsys/numlock -a  -x /usr/X11R6/bin/enable_X11_numlock ]; 
then /usr/X11R6/bin/enable_X11_numlock
fi
# numlock ends here
но почему-то этот вариант не срабатывает, а если прописать все в явном
виде:
#!/bin/sh
/usr/X11R6/bin/enable_X11_numlock
# numlock ends here
то все становится нормально, но я думаю не зря же изначальный
скрипт более сложный, мастера шелла подскажите почему не работает
это делo, и что обозначают все эти ключи и зачем именно такая
конструкция???

-- 
С уважением,
 Николай                         



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-23  0:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-21 12:03 [Comm] Не срабатывает скрипт numlock Николай
2003-11-23  0:12 ` "Алексей Авдеев"

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git