Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
bab034b7
Commit
bab034b7
authored
Aug 19, 2015
by
Igor Pečovnik
Browse files
remarks
parent
cd85cab7
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions.sh
View file @
bab034b7
...
@@ -231,6 +231,7 @@ install_cups (){
...
@@ -231,6 +231,7 @@ install_cups (){
# Install printer system
# Install printer system
#--------------------------------------------------------------------------------------------------------------------------------
#--------------------------------------------------------------------------------------------------------------------------------
debconf-apt-progress
--
apt-get
-y
install
cups lpr foomatic-filters
debconf-apt-progress
--
apt-get
-y
install
cups lpr foomatic-filters
# cups-filters if jessie
sed
-e
's/Listen localhost:631/Listen 631/g'
-i
/etc/cups/cupsd.conf
sed
-e
's/Listen localhost:631/Listen 631/g'
-i
/etc/cups/cupsd.conf
sed
-e
's/<Location \/>/<Location \/>\nallow $SUBNET/g'
-i
/etc/cups/cupsd.conf
sed
-e
's/<Location \/>/<Location \/>\nallow $SUBNET/g'
-i
/etc/cups/cupsd.conf
sed
-e
's/<Location \/admin>/<Location \/admin>\nallow $SUBNET/g'
-i
/etc/cups/cupsd.conf
sed
-e
's/<Location \/admin>/<Location \/admin>\nallow $SUBNET/g'
-i
/etc/cups/cupsd.conf
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment