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:58] tschulz [Startup Script] |
chromebooks:cloudprint_cups [2013/11/14 15:00] tschulz [Startup Script] |
||
---|---|---|---|
Line 44: | Line 44: | ||
restart | restart | ||
</file> | </file> | ||
+ | <file bash /etc/rc.local> | ||
+ | TERM="xterm-color" | ||
+ | SHELL="/bin/bash" | ||
+ | XDG_SESSION_COOKIE="5e1b8a057502aa735ff8be1600000177-1382969815.874167-799647066" | ||
+ | USER="root" | ||
+ | MAIL="/var/mail/root" | ||
+ | PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" | ||
+ | PWD="/root" | ||
+ | LANG="en_US.UTF-8" | ||
+ | SHLVL="1" | ||
+ | HOME="/root" | ||
+ | LOGNAME="root" | ||
+ | LESSOPEN="| /usr/bin/lesspipe %s" | ||
+ | LESSCLOSE="/usr/bin/lesspipe %s %s" | ||
+ | _="/usr/bin/env" | ||
+ | ssh root@localhost "/scripts/restart_cloudprint.sh" | ||
+ | |||
+ | exit 0 | ||
+ | </file> | ||