105 |
# install required kernel modules as well |
# install required kernel modules as well |
106 |
if is_provided basic-kernel |
if is_provided basic-kernel |
107 |
then |
then |
108 |
mcore-kernel-modules --add --module lp |
${MCORE_LIBDIR}/mcore-kernel-modules --add --module lp |
109 |
mcore-kernel-modules --add --module usblp |
${MCORE_LIBDIR}/mcore-kernel-modules --add --module usblp |
110 |
fi |
fi |
111 |
|
|
112 |
CONFIG="${MROOT}@@SYSCONFDIR@@/printcap" |
CONFIG="${MROOT}@@SYSCONFDIR@@/printcap" |
131 |
chown @@LPRNG_SPOOLER_USER@@:@@LPRNG_SPOOLER_USER@@ ${MROOT}@@LOCALSTATEDIR@@/log/lprng/${prn} |
chown @@LPRNG_SPOOLER_USER@@:@@LPRNG_SPOOLER_USER@@ ${MROOT}@@LOCALSTATEDIR@@/log/lprng/${prn} |
132 |
chmod 0600 ${MROOT}@@LOCALSTATEDIR@@/log/lprng/${prn} |
chmod 0600 ${MROOT}@@LOCALSTATEDIR@@/log/lprng/${prn} |
133 |
done |
done |
134 |
|
|
135 |
|
# restart lpd |
136 |
|
if is_provided systemd |
137 |
|
then |
138 |
|
${MCORE_LIBDIR}/mcore-system-services --restart --service lpd.service |
139 |
|
fi |
140 |
|
if is_provided sysvinit |
141 |
|
${MCORE_LIBDIR}/mcore-kernel-modules --restart --service lprng |
142 |
|
fi |
143 |
} |
} |