No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

install.sh 401B

123456789101112131415161718
  1. #!/bin/sh
  2. # Let's make US_Dvorak layout default at boot.
  3. # to be executed as root;
  4. file="/etc/rc.local"
  5. cp ./dvorakd.sh /usr/local/bin/
  6. if [ -f "$file" ]
  7. then
  8. echo 'sh /usr/local/bin/dvorakd.sh' >> /etc/rc.local
  9. else
  10. echo '#!/bin/sh' > /etc/rc.local
  11. echo 'sh /usr/local/bin/dvorakd.sh' >> /etc/rc.local
  12. fi
  13. # reboot the machine to let changes happen,
  14. # or just ``$ sh ./dvorakd.sh'' to test it.