ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Николай <tuxmail@mail.ru>
To: community@altlinux.ru
Subject: [Comm] Не срабатывает скрипт numlock
Date: Fri, 21 Nov 2003 15:03:10 +0300
Message-ID: <165636635.20031121150310@mail.ru> (raw)

Всему уважаемому сообществу здрасть.
Помогите разобраться со скриптом 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, и что обозначают все эти ключи и зачем именно такая
конструкция???

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



             reply	other threads:[~2003-11-21 12:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-21 12:03 Николай [this message]
2003-11-23  0:12 ` "Алексей Авдеев"

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=165636635.20031121150310@mail.ru \
    --to=tuxmail@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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