Commit 20f5ed32 authored by testing testuser's avatar testing testuser

Runs printer-install script, adds comments for remaining printer tasks

parent 365036b2
......@@ -36,7 +36,7 @@ dsconfigad -groups "Domain Admins"
dseditgroup -o edit -n /Local/Default -u `whoami` -p -a $username -t user admin
# set scripts as executable
chmod 755 com.user.loginscript.plist
chmod 755 com.user.loginscript.plist mac_install_printers.command
# root needs to own all-user LaunchAgents
chown root com.user.loginscript.plist
# loginscript.plist runs for all users on login
......@@ -47,4 +47,5 @@ cp /Users/Shared/com.user.loginscript.plist /Library/LaunchAgents/com.user.login
# download, install Tunnelblick - install config files?
# download printers, install
bash mac_install_printers.command
......@@ -50,6 +50,9 @@ fi
# DefaultFinisher: FinAMURBK
# gunzip < file.gz | sed -e 's/search_str/replace_str/g' | gzip -c > temp.gz
# Add the printers to the MAC. Should we loop through a file? Maybe... let's see
sudo lpadmin -p printer-I01-1st -D "Central Building 1st floor" -L "Central Building 1st floor" -E -v socket://p0117101.ista.local:9100 -P /Library/Printers/PPDs/Contents/Resources/RICOH\ Aficio\ MP\ C4502A\ Finisher -o printer-is-shared=false
sudo lpadmin -p printer-I01-2nd -D "Central Building 2nd floor" -L "Central Building 2nd floor" -E -v socket://p0117102.ista.local:9100 -P /Library/Printers/PPDs/Contents/Resources/RICOH\ Aficio\ MP\ C4502A\ Finisher -o printer-is-shared=false
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment