projects
/
outofuni
/
dib.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0cb6223aef0dcb873321a2f62b68b9c85a10999e
[outofuni/dib.git]
/
post_routines
/
nellboard
/
leds
1
#!/bin/bash
2
3
cat > /lib/systemd/system/gled.service << EOF
4
[Unit]
5
Description=Switching on the green LED
6
After=sshd.service dnsmasq.service
7
8
[Service]
9
Type=oneshot
10
ExecStart=/usr/bin/nellcmd gled on yled off
11
12
[Install]
13
WantedBy=multi-user.target
14
EOF
15
16
systemctl enable gled.service
17