update youtube script
update dmesg settings
This commit is contained in:
@@ -97,4 +97,13 @@
|
||||
group: "{{ def_username }}"
|
||||
tags: powermanagement
|
||||
|
||||
- name: allow users to read kernel ring buffer
|
||||
ansible.posix.sysctl:
|
||||
name: kernel.dmesg_restrict
|
||||
value: '0'
|
||||
sysctl_set: yes
|
||||
state: present
|
||||
reload: yes
|
||||
become: yes
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# play random youtube videos for up to 15 minutes
|
||||
#if pgrep -f chromium-browser >/dev/null
|
||||
if pgrep -f firefox >/dev/null
|
||||
if pgrep -f chromium-browser >/dev/null
|
||||
#if pgrep -f firefox >/dev/null
|
||||
then
|
||||
exit 0
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user