Skip to content

Commit

Permalink
Clean up. Add systemd files install to mkimg.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyoung committed Jun 22, 2016
1 parent 5b99889 commit 3250158
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 78 deletions.
11 changes: 11 additions & 0 deletions image/mkimg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,14 @@ sed -i /etc/default/keyboard -e "/^XKBLAYOUT/s/\".*\"/\"us\"/"

#boot settings
cp -f config.txt mnt/boot/
cp -f ../__lib__systemd__system__stratux.service mnt/lib/systemd/system/stratux.service
cp -f ../__root__stratux-pre-start.sh mnt/root/stratux-pre-start.sh
chmod 644 mnt/lib/systemd/system/stratux.service
chmod 744 mnt/root/stratux-pre-start.sh
ln -fs mnt/lib/systemd/system/stratux.service mnt/etc/systemd/system/multi-user.target.wants/stratux.service

#clean up old init scripts.
rm -f /etc/init.d/stratux
rm -f /etc/rc2.d/S01stratux
rm -f /etc/rc6.d/K01stratux

78 changes: 0 additions & 78 deletions init.d-stratux

This file was deleted.

0 comments on commit 3250158

Please sign in to comment.