#!/bin/bash chmod 777 -R /opt/deliwebscan/bin/* udevadm control --reload udevadm trigger echo "installed in the dir /opt/deliwebscan" #echo "demo web page in the static dir" chmod 644 /etc/udev/rules.d/60-dl* udevadm control --reload-rules udevadm trigger echo "enable deliwebscanserver.service " systemctl enable deliwebscanserver.service echo "reload daemoning " systemctl daemon-reload echo "enable start.service " systemctl start deliwebscanserver.service sleep 10 echo "install deliwebscanserver finished"