Don't create symlink if it exists; "What now?" piped through more for smaller terminals
This commit is contained in:
parent
0db6ed5870
commit
b742a615fd
@ -3,5 +3,4 @@ appicon_DATA=pampanic.svg
|
|||||||
pixmapsdir=$(datadir)/pixmaps
|
pixmapsdir=$(datadir)/pixmaps
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
$(MKDIR_P) $(pixmapsdir)
|
test -L $(pixmapsdir)/pampanic.svg && echo "Symlink exists" || { $(MKDIR_P) $(pixmapsdir) ; $(LN_S) $(appicondir)/pampanic.svg $(pixmapsdir)/pampanic.svg ; }
|
||||||
$(LN_S) $(appicondir)/pampanic.svg $(pixmapsdir)/pampanic.svg
|
|
||||||
|
@ -283,14 +283,29 @@ fi
|
|||||||
clear
|
clear
|
||||||
[ $writeout -eq 0 ] && echo "Done! <3" || echo "Nothing done! </3"
|
[ $writeout -eq 0 ] && echo "Done! <3" || echo "Nothing done! </3"
|
||||||
|
|
||||||
echo -e "\n"
|
echo -e "\n
|
||||||
echo "What now?"
|
What now?
|
||||||
echo "========="
|
=========
|
||||||
echo "Now we saved our configuration to $CONFIGFILE."
|
Now we saved our configuration to $CONFIGFILE.
|
||||||
echo "If you want to let them apply to the other modules,"
|
If you want to let them apply to the other modules,
|
||||||
echo "like in xscreensaver and system-local-login [the system login],"
|
proceed as follows:
|
||||||
echo "do as follows:"
|
1. Open a module in /etc/pam.d/
|
||||||
echo -e "\t1. Open a module in /etc/pam.d/ (like xscreensaver or system-local-login).\n\t2. After the line \"#%PAM-1.0\" append\n\t\tauth include pampanic\n\t\taccount include pampanic\nAfter you have saved the file pam_panic will be working at once."
|
You can try out:
|
||||||
echo "If you got any question, don't hesitate to ask via IRC (chat.freenode.de in room #pampanic) or via mail."
|
- xscreensaver
|
||||||
|
- system-local-login (on Arch Linux)
|
||||||
|
- common-auth and common-account (Ubuntu)
|
||||||
|
2. After the line \"#%PAM-1.0\" append
|
||||||
|
auth include pampanic
|
||||||
|
account include pampanic
|
||||||
|
On Ubuntu you might want to seperate both lines in common-auth and common-account.
|
||||||
|
|
||||||
|
Once you have changed and saved those files, pam_panic will be active.
|
||||||
|
On your next login you need to
|
||||||
|
- type your pam_panic authentification password or
|
||||||
|
- insert your removable authentication media
|
||||||
|
previous your regular user password.
|
||||||
|
" | more
|
||||||
|
|
||||||
|
echo "If you got any question, don't hesitate to ask via IRC (chat.freenode.de in room #pampanic) or via mail + GPG."
|
||||||
echo -e "\nPress Enter to exit."
|
echo -e "\nPress Enter to exit."
|
||||||
read -n1
|
read -n1
|
||||||
|
Loading…
Reference in New Issue
Block a user