File: setserial.modutils

package info (click to toggle)
setserial 2.17-16
  • links: PTS
  • area: main
  • in suites: potato
  • size: 340 kB
  • ctags: 190
  • sloc: sh: 2,014; ansic: 993; makefile: 118; csh: 2
file content (8 lines) | stat: -rw-r--r-- 494 bytes parent folder | download
1
2
3
4
5
6
7
8
#
# This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
# when the module is first loaded into the kernel at boot time!
#
#post-install serial /etc/init.d/setserial start | logger -p daemon.info -t "setserial-module reload"
#pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t "setserial-module uload"
post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
pre-remove serial /etc/init.d/setserial modsave  > /dev/null 2> /dev/null