This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to add user into group, and make changes take effect *without logout/login*: the *newgrp* command | |
# | |
# Do note that this method will only update the groups, in the current shell session (and its child-processes). | |
# New shell sessions will not have the groups updated - either use this method to update the groups in each shell | |
# session, or logout/login to make the group update permanent by default | |
# | |
# In short: | |
# $ sudo adduser user_x my_grp | |
# $ newgrp my_grp && newgrp | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KEY=/etc/bind/Kize.domain.hu.+111+11111 | |
SERVER=1.2.3.4 | |
ZONE=domain.hu | |
HOSTNAME=ize | |
ddns_setup_set() { | |
if [ "$interface" != "eth0" ] && [ "$new_ip_address" = "$old_ip_address" ]; then | |
return | |
fi | |
( |