diff options
author | Kyle K <kylek389@gmail.com> | 2021-08-16 19:58:50 -0500 |
---|---|---|
committer | Kyle K <kylek389@gmail.com> | 2021-08-16 19:58:50 -0500 |
commit | d2540d88ce37050493baef9c84d36f5678d007e4 (patch) | |
tree | bc47a7d908f7fbd88ff6d51669bcc54576593c9b /rog | |
parent | 31edc93179e19f1561d7d125c51e35241677b128 (diff) | |
download | configs-d2540d88ce37050493baef9c84d36f5678d007e4.tar.gz configs-d2540d88ce37050493baef9c84d36f5678d007e4.tar.bz2 configs-d2540d88ce37050493baef9c84d36f5678d007e4.zip |
make my custom systemd local.service start before gdm
Diffstat (limited to 'rog')
-rw-r--r-- | rog/etc/systemd/system/local.service | 1 | ||||
-rwxr-xr-x | rog/usr/local/bin/local.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/rog/etc/systemd/system/local.service b/rog/etc/systemd/system/local.service index 204c9d0..be015f6 100644 --- a/rog/etc/systemd/system/local.service +++ b/rog/etc/systemd/system/local.service @@ -2,6 +2,7 @@ Description=Run local commands after boot ConditionFileIsExecutable=/usr/local/bin/local.sh After=multi-user.target +Before=gdm.service [Service] Type=oneshot diff --git a/rog/usr/local/bin/local.sh b/rog/usr/local/bin/local.sh index 96bf893..6661cbb 100755 --- a/rog/usr/local/bin/local.sh +++ b/rog/usr/local/bin/local.sh @@ -15,6 +15,6 @@ mount -o loop,ro,defaults,nofail,exec,uid=1000,gid=1000 /mnt/dislocker/dislocker /usr/local/bin/sign-modules.sh -hdparm -S 0 /dev/disk/by-id/ata-ST14000DM001-2JC101_ZHZ1GDKT +hdparm -B 254 -S 0 /dev/disk/by-id/ata-ST14000DM001-2JC101_ZHZ1GDKT exit 0 |