This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
chromebooks:cloudprint_cups [2013/11/14 14:57] tschulz [Startup Script] |
chromebooks:cloudprint_cups [2013/11/14 14:58] tschulz [Startup Script] |
||
---|---|---|---|
Line 31: | Line 31: | ||
/opt/google/chrome/chrome --type=service --enable-cloud-print-proxy --no-service-autorun --noerrdialogs --user-data-dir=/etc/cloudprint/ & | /opt/google/chrome/chrome --type=service --enable-cloud-print-proxy --no-service-autorun --noerrdialogs --user-data-dir=/etc/cloudprint/ & | ||
+ | </file> | ||
+ | |||
+ | <file bash /scripts/restart_cloudprint.sh> | ||
+ | #!/bin/sh | ||
+ | |||
+ | restart() | ||
+ | { killall -9 chrome | ||
+ | sleep 2 | ||
+ | /scripts/cloud_print.sh | ||
+ | } | ||
+ | |||
+ | restart | ||
</file> | </file> | ||