My Startup Scripts won't work



Hi guys!
I have small script for my keyboard layouts that I place in /etc/init.d/ and
add chmod +x , the script is linked in /etc/rc.4/ and /etc/rc.5/ but it
won't start at boot. Why? Here it is :

#!/bin/sh
### BEGIN INIT INFO
# Bulgarian Phonetic Layout.
### END INIT INFO
setxkbmap -layout 'us,bg(bp)' -option grp:alt_shift_toggle
echo Klayouts Done.
exit 0

Plaese help me... I was headbanging all day over this issue.

p.s. Sorry about my bad Englis.

Best wishes,
Ned
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: init.d question
    ... >> I have several daemons that I want to automatically start at boot up. ... > # network Bring up/down networking ... > so you can see your script execute during boot. ...
    (alt.linux)
  • Re: shell script - resque
    ... I have run the command update-rc.d resque defaults on Ubuntu Linux ... Server 8.04. ... For update-rc.d xxx defaults to work, the xxx init script must have a ...
    (comp.unix.shell)
  • Re: [opensuse] runlevel daemon startup shutdown sequence
    ... I try playing on the INIT INFO part it does not work for the stop ... and calculating the dependencies between all scripts. ... Default-Stop are ignored in SuSE Linux, because the SuSE boot script ... dependencies and runlevelinsserv sets and reorders the ...
    (SuSE)
  • Strange behaviour in Debian Lenny
    ... I have a strange behaviour in Debian Lenny. ... So, the script runs twice. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [kde] Keyboard shortcuts dont work in different layouts
    ... Since I frequently need to change keyboard layouts multiple times ... similar problem for my guest accounts. ... the Mandriva X server are different from the RedHat X server. ... them to the Mandriva computer and provided the following script that is called ...
    (KDE)