Last active
August 7, 2016 10:50
-
-
Save wilensky/e8c334b4c3ac64aff4c5553167106f54 to your computer and use it in GitHub Desktop.
Tomato firmware hotplug script for HP LaserJet P1006 printer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Printer identity needs to be read separately by another hotplug script which prints id of plugged hardware | |
if [ $PRODUCT = "3f0/3e17/100" ]; then # `3f0/3e17/100` - printer identity | |
if [ $ACTION = "add" ]; then | |
sleep 1 | |
cat /jffs/sihpP1006.dl > /dev/usb/lp0 | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment