System :: cups-1.3.5



lucky13 is correct about the $ and how to grep them.  I had first grepped the entire line but then cut it short before posting.  I tried this and it works here now:

if sudo grep root:[$]1[$][$] /etc/shadow; then
  xterm -title "Set Root Passwork" -e sudo passwd
fi

Jason: typo in Password (Passwork)
Great - almost there with the extension, just got to confirm which files need to be in the backup so that the printer(s) are still there after reboot.
I'm unable to get my printer to persist across boots because the backup will not save the following file:
Code Sample
$ ls -l /var/run/ptal-mlcd/usb:OfficeJet_G85
srwxrwxrwx    1 root     root            0 Apr  4 17:35 /var/run/ptal-mlcd/usb:OfficeJet_G85

- which is a socket.

Any idea why this might be?

Some links from a web search: http://mandrivausers.org/index.p....y199056 http://www.linuxsa.org.au/pipermail/linuxsa/2003-March/052388.html

Summary (assuming they are correct):
- tar does not support socket files
- most likely they are regenerated, since they are 'live' files

Did you try your extension as-is without that file?

Next Page...
original here.