Debian Codegraph @

tools/hardinfo2.install

raw
1 post_install() {
2 echo ""
3 echo "The included service is required for root access:"
4 echo "Starting the hardinfo2 server - systemctl start hardinfo2"
5 echo ""
6 if [ -e /sbin/rc-update ] ; then
7 rc-service hardinfo2 start
8 else
9 systemctl start hardinfo2
10 fi
11 }