quinta-feira, 6 de agosto de 2015

HOW TO ADD SCRIPT WHEN YOUR SYSTEM INITIALIZE


Create Scritp, for example:
##########################begin script###########################
#!/bin/bash
/etc/init.d/cups start
##########################end script###########################

After that save the script like some that in respective folder: root@:#/etc/init.d/printer.sh
Grant root@:#chmod 755 /etc/init.d/printer.sh

To finish, execute : update-rc.d printer.sh defaults

Um comentário:

  1. I have been using this replica watch,replica omega watches it is a very beautiful and affordable automatic watch, good size, great quality, elegant and temperament, is my favorite style.replica omega de ville hour vision watches I shared this website with my friends and they were very happy.

    ResponderExcluir