Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .PHONY: install
- install:
- if [ $(shell id -u) = 0 ] && \
- insmod driverModule.ko && \
- chmod 0666 /dev//myDriver c 72 0 && \
- echo AAABBB > /dev/myDriver; then \
- echo ok; \
- else \
- rmmod driverModule.ko; \
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement