Debug commit for C9S
This commit is contained in:
parent
71061931b2
commit
c3b3c250f4
1 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ rlJournalStart
|
|||
echo "FileDevice Yes" >> /etc/cups/cups-files.conf
|
||||
START=$(date | awk '{print $4}')
|
||||
echo $START
|
||||
rlServiceStop firewalld
|
||||
rlServiceStart cups
|
||||
rlRun "lpadmin -p testb$MYHASH -v file:///dev/null -m drv:///sample.drv/generic.ppd -E"
|
||||
rlRun "lpadmin -p testa$MYHASH -v file:///dev/null -m drv:///sample.drv/generic.ppd -E"
|
||||
|
|
@ -54,6 +55,7 @@ rlJournalStart
|
|||
rlRun "echo 'Subject $MYHASH' > /etc/cups/mailto.conf"
|
||||
rlFileBackup --clean /etc/hosts
|
||||
rlRun "echo '127.0.0.1 $(hostnamectl hostname)' >> /etc/hosts"
|
||||
cat /etc/hosts
|
||||
rlServiceStart sendmail
|
||||
rlPhaseEnd
|
||||
|
||||
|
|
@ -80,6 +82,7 @@ rlJournalStart
|
|||
lpadmin -x testb$MYHASH
|
||||
lpadmin -x testclass$MYHASH
|
||||
rlServiceRestore cups
|
||||
rlServiceRestore firewalld
|
||||
rlFileRestore
|
||||
rlPhaseEnd
|
||||
rlJournalPrintText
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue