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
6d64cd7b
Commit
6d64cd7b
authored
Jan 03, 2016
by
Igor Pečovnik
Browse files
scanner
parent
bcb11bad
Changes
2
Hide whitespace changes
Inline
Side-by-side
functions.sh
View file @
6d64cd7b
...
...
@@ -376,7 +376,7 @@ sed -e 's/<Location \/>/<Location \/>\nallow $SUBNET/g' -i /etc/cups/cupsd.conf
sed -e 's/<Location
\/
admin>/<Location
\/
admin>
\n
allow
$SUBNET
/g' -i /etc/cups/cupsd.conf
sed -e 's/<Location
\/
admin
\/
conf>/<Location
\/
admin
\/
conf>
\n
allow
$SUBNET
/g' -i /etc/cups/cupsd.conf
service cups restart
service samba restart
service samba restart
| service smbd restart >/dev/null 2>&1
}
...
...
install.sh
View file @
6d64cd7b
...
...
@@ -63,7 +63,10 @@ do
if
[
"
$i
"
==
"CUPS"
]
;
then
install_cups
fi
if
[
"
$i
"
==
"Transmission"
]
;
then
if
[
"
$i
"
==
"Scanner"
]
;
then
install_scaner_and_scanbuttons
fi
if
[
"
$i
"
==
"Transmission"
]
;
then
install_transmission
fi
...
...
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