Changeset eb9d3f2
- Timestamp:
- 06/25/2019 04:51:17 AM (4 years ago)
- Branches:
- elogind
- Children:
- 284586c
- Parents:
- dd16ca4d
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
general/genlib/libpaper.xml
rdd16ca4d reb9d3f2 100 100 101 101 cat > /usr/bin/run-parts << "EOF" 102 #!/bin/sh102 <literal>#!/bin/sh 103 103 # run-parts: Runs all the scripts found in a directory. 104 104 # from Slackware, by Patrick J. Volkerding with ideas borrowed … … 147 147 done 148 148 149 exit 0 149 exit 0</literal> 150 150 EOF 151 151 … … 185 185 186 186 <screen role="root"><userinput>cat > /etc/papersize << "EOF" 187 a4 187 <literal>a4</literal> 188 188 EOF</userinput></screen> 189 189 -
general/prog/rust.xml
rdd16ca4d reb9d3f2 227 227 228 228 <screen><userinput>cat << EOF > config.toml 229 # see config.toml.example for more possible options229 <literal># see config.toml.example for more possible options 230 230 [llvm] 231 231 … … 263 263 # get a trace if there is an Internal Compiler Exception 264 264 backtrace-on-ice = true 265 265 </literal> 266 266 EOF</userinput></screen> 267 267 -
general/sysutils/elogind.xml
rdd16ca4d reb9d3f2 199 199 200 200 <screen role="root"><userinput>cat >> /etc/pam.d/system-session << "EOF" && 201 # Begin elogind addition201 <literal># Begin elogind addition 202 202 203 203 session required pam_loginuid.so 204 204 session optional pam_elogind.so 205 205 206 # End elogind addition 206 # End elogind addition</literal> 207 207 EOF 208 208 cat > /etc/pam.d/elogind-user << "EOF" 209 # Begin /etc/pam.d/elogind-user209 <literal># Begin /etc/pam.d/elogind-user 210 210 211 211 account required pam_access.so … … 222 222 password required pam_deny.so 223 223 224 # End /etc/pam.d/elogind-user 224 # End /etc/pam.d/elogind-user</literal> 225 225 EOF</userinput></screen> 226 226 -
general/sysutils/fcron.xml
rdd16ca4d reb9d3f2 241 241 242 242 <screen role="root"><userinput>cat > /usr/bin/run-parts << "EOF" && 243 #!/bin/sh243 <literal>#!/bin/sh 244 244 # run-parts: Runs all the scripts found in a directory. 245 245 # from Slackware, by Patrick J. Volkerding with ideas borrowed … … 288 288 done 289 289 290 exit 0 290 exit 0</literal> 291 291 EOF 292 292 chmod -v 755 /usr/bin/run-parts</userinput></screen> … … 305 305 306 306 <screen role="root"><userinput>cat > /var/spool/fcron/systab.orig << "EOF" 307 &bootrun 01 * * * * root run-parts /etc/cron.hourly307 <literal>&bootrun 01 * * * * root run-parts /etc/cron.hourly 308 308 &bootrun 02 4 * * * root run-parts /etc/cron.daily 309 309 &bootrun 22 4 * * 0 root run-parts /etc/cron.weekly 310 &bootrun 42 4 1 * * root run-parts /etc/cron.monthly 310 &bootrun 42 4 1 * * root run-parts /etc/cron.monthly</literal> 311 311 EOF</userinput></screen> 312 312 -
general/sysutils/logrotate.xml
rdd16ca4d reb9d3f2 126 126 127 127 <screen role="root"><userinput>cat > /etc/logrotate.conf << EOF 128 # Begin of /etc/logrotate.conf128 <literal># Begin of /etc/logrotate.conf 129 129 130 130 # Rotate log files weekly … … 165 165 include /etc/logrotate.d 166 166 167 # End of /etc/logrotate.conf 167 # End of /etc/logrotate.conf</literal> 168 168 EOF 169 169 … … 180 180 181 181 <screen role="root"><userinput>cat > /etc/logrotate.d/sys.log << EOF 182 /var/log/sys.log {182 <literal>/var/log/sys.log { 183 183 # If the log file is larger than 100kb, rotate it 184 184 size 100k … … 188 188 /bin/killall -HUP syslogd 189 189 endscript 190 } 190 }</literal> 191 191 EOF 192 192 … … 196 196 197 197 <screen role="root"><userinput>cat > /etc/logrotate.d/example.log << EOF 198 file1198 <literal>file1 199 199 file2 200 200 file3 { … … 203 203 ... 204 204 endscript 205 } 205 }</literal> 206 206 EOF 207 207 -
gnome/platform/gdm.xml
rdd16ca4d reb9d3f2 265 265 266 266 <screen role="root" revision="sysv"><userinput>cat >> /etc/elogind/logind.conf << "EOF" 267 AllowSuspend=no268 AllowHibernation=no 267 <literal>AllowSuspend=no 268 AllowHibernation=no</literal> 269 269 EOF</userinput></screen> 270 270 -
kde/plasma5/plasma-all.xml
rdd16ca4d reb9d3f2 307 307 308 308 <screen role="root"><userinput>cat > /etc/pam.d/kde << "EOF" 309 # Begin /etc/pam.d/kde309 <literal># Begin /etc/pam.d/kde 310 310 311 311 auth requisite pam_nologin.so … … 319 319 session include system-session 320 320 321 # End /etc/pam.d/kde 321 # End /etc/pam.d/kde</literal> 322 322 EOF 323 323 324 324 cat > /etc/pam.d/kde-np << "EOF" 325 # Begin /etc/pam.d/kde-np325 <literal># Begin /etc/pam.d/kde-np 326 326 327 327 auth requisite pam_nologin.so … … 335 335 session include system-session 336 336 337 # End /etc/pam.d/kde-np 337 # End /etc/pam.d/kde-np</literal> 338 338 EOF 339 339 340 340 cat > /etc/pam.d/kscreensaver << "EOF" 341 # Begin /etc/pam.d/kscreensaver341 <literal># Begin /etc/pam.d/kscreensaver 342 342 343 343 auth include system-auth 344 344 account include system-account 345 345 346 # End /etc/pam.d/kscreensaver 346 # End /etc/pam.d/kscreensaver</literal> 347 347 EOF</userinput></screen> 348 348 </sect3> -
postlfs/filesystems/fuse3.xml
rdd16ca4d reb9d3f2 182 182 183 183 <screen role="root"><userinput>cat > /etc/fuse.conf << "EOF" 184 # Set the maximum number of FUSE mounts allowed to non-root users.184 <literal># Set the maximum number of FUSE mounts allowed to non-root users. 185 185 # The default is 1000. 186 186 # … … 190 190 # mount options. 191 191 # 192 #user_allow_other 192 #user_allow_other</literal> 193 193 EOF</userinput></screen> 194 194 -
postlfs/filesystems/initramfs.xml
rdd16ca4d reb9d3f2 55 55 56 56 <screen role="root"><userinput>cat > /sbin/mkinitramfs << "EOF" 57 #!/bin/bash57 <literal>#!/bin/bash 58 58 # This file based in part on the mkinitramfs script for the LFS LiveCD 59 59 # written by Alexander E. Patrakov and Jeremy Huntwork. … … 244 244 rm -rf $WDIR $unsorted 245 245 printf "done.\n" 246 246 </literal> 247 247 EOF 248 248 … … 251 251 <screen role="root"><userinput>mkdir -p /usr/share/mkinitramfs && 252 252 cat > /usr/share/mkinitramfs/init.in << "EOF" 253 #!/bin/sh253 <literal>#!/bin/sh 254 254 255 255 PATH=/bin:/usr/bin:/sbin:/usr/sbin … … 358 358 359 359 exec switch_root /.root "$init" "$@" 360 360 </literal> 361 361 EOF</userinput></screen> 362 362 -
postlfs/security/consolekit.xml
rdd16ca4d reb9d3f2 219 219 220 220 <screen role="root"><userinput>cat > /usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck << "EOF" 221 #!/bin/sh221 <literal>#!/bin/sh 222 222 TAGDIR=/var/run/console 223 223 … … 235 235 sed -i "\%^$CK_SESSION_ID\$%d" "$TAGFILE" 236 236 [ -s "$TAGFILE" ] || rm -f "$TAGFILE" 237 fi 237 fi</literal> 238 238 EOF 239 239 chmod -v 755 /usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck</userinput></screen> -
postlfs/security/libcap.xml
rdd16ca4d reb9d3f2 98 98 <screen role="root"><userinput>mv -v /etc/pam.d/system-auth{,.bak} && 99 99 cat > /etc/pam.d/system-auth << "EOF" && 100 # Begin /etc/pam.d/system-auth100 <literal># Begin /etc/pam.d/system-auth 101 101 102 auth optional pam_cap.so 102 auth optional pam_cap.so</literal> 103 103 EOF 104 104 tail -n +3 /etc/pam.d/system-auth.bak >> /etc/pam.d/system-auth</userinput></screen> -
postlfs/security/linux-pam.xml
rdd16ca4d reb9d3f2 190 190 191 191 cat > /etc/pam.d/other << "EOF" 192 auth required pam_deny.so192 <literal>auth required pam_deny.so 193 193 account required pam_deny.so 194 194 password required pam_deny.so 195 session required pam_deny.so 195 session required pam_deny.so</literal> 196 196 EOF</userinput></screen> 197 197 -
postlfs/virtualization/qemu.xml
rdd16ca4d reb9d3f2 525 525 <screen role="root" 526 526 revision="systemd"><userinput>cat >> /etc/sysctl.d/60-net-forward.conf << EOF 527 net.ipv4.ip_forward=1 527 <literal>net.ipv4.ip_forward=1</literal> 528 528 EOF</userinput></screen> 529 529 -
pst/scanning/sane.xml
rdd16ca4d reb9d3f2 296 296 297 297 <screen role="root"><userinput>cat >> /etc/sane.d/net.conf << "EOF" 298 connect_timeout = 60299 <server_ip> 298 <literal>connect_timeout = 60 299 <server_ip></literal> 300 300 EOF</userinput></screen> 301 301 … … 320 320 321 321 cat > /usr/share/applications/xscanimage.desktop << "EOF" && 322 [Desktop Entry]322 <literal>[Desktop Entry] 323 323 Encoding=UTF-8 324 324 Name=XScanImage - Scanning … … 328 328 Terminal=false 329 329 Type=Application 330 Categories=Application;Graphics 330 Categories=Application;Graphics</literal> 331 331 EOF 332 332 -
x/dm/lxdm.xml
rdd16ca4d reb9d3f2 309 309 310 310 <screen role="root"><userinput>cat >> /etc/elogind/logind.conf << "EOF" 311 AllowSuspend=no312 AllowHibernation=no 311 <literal>AllowSuspend=no 312 AllowHibernation=no</literal> 313 313 EOF</userinput></screen> 314 314 -
x/installing/xorg-config.xml
rdd16ca4d reb9d3f2 268 268 269 269 <screen role="root"><userinput>cat > /etc/X11/xorg.conf.d/xkb-defaults.conf << "EOF" 270 Section "InputClass"270 <literal>Section "InputClass" 271 271 Identifier "XKB Defaults" 272 272 MatchIsKeyboard "yes" 273 273 Option "XkbLayout" "fr" 274 274 Option "XkbOptions" "terminate:ctrl_alt_bksp" 275 EndSection 275 EndSection</literal> 276 276 EOF</userinput></screen> 277 277 … … 294 294 295 295 <screen role="root"><userinput>cat > /etc/X11/xorg.conf.d/videocard-0.conf << "EOF" 296 Section "Device"296 <literal>Section "Device" 297 297 Identifier "Videocard0" 298 298 Driver "radeon" … … 300 300 BoardName "ATI Radeon 7500" 301 301 Option "NoAccel" "true" 302 EndSection 302 EndSection</literal> 303 303 EOF</userinput></screen> 304 304 … … 310 310 311 311 <screen role="root"><userinput>cat > /etc/X11/xorg.conf.d/server-layout.conf << "EOF" 312 Section "ServerLayout"312 <literal>Section "ServerLayout" 313 313 Identifier "DefaultLayout" 314 314 Screen 0 "Screen0" 0 0 315 315 Screen 1 "Screen1" LeftOf "Screen0" 316 316 Option "Xinerama" 317 EndSection 317 EndSection</literal> 318 318 EOF</userinput></screen> 319 319 -
x/installing/xorg7.xml
rdd16ca4d reb9d3f2 125 125 126 126 <screen role="root"><userinput>cat > /etc/profile.d/xorg.sh << EOF 127 XORG_PREFIX="$XORG_PREFIX"127 <literal>XORG_PREFIX="$XORG_PREFIX" 128 128 XORG_CONFIG="--prefix=\$XORG_PREFIX --sysconfdir=/etc --localstatedir=/var --disable-static" 129 export XORG_PREFIX XORG_CONFIG 129 export XORG_PREFIX XORG_CONFIG</literal> 130 130 EOF 131 131 chmod 644 /etc/profile.d/xorg.sh</userinput></screen> … … 154 154 155 155 <screen role="root"><userinput>cat >> /etc/profile.d/xorg.sh << "EOF" 156 156 <literal> 157 157 pathappend $XORG_PREFIX/bin PATH 158 158 pathappend $XORG_PREFIX/lib/pkgconfig PKG_CONFIG_PATH … … 165 165 ACLOCAL="aclocal -I $XORG_PREFIX/share/aclocal" 166 166 167 export PATH PKG_CONFIG_PATH ACLOCAL LIBRARY_PATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH 167 export PATH PKG_CONFIG_PATH ACLOCAL LIBRARY_PATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH</literal> 168 168 EOF</userinput></screen> 169 169 -
x/lib/gtk+2.xml
rdd16ca4d reb9d3f2 212 212 213 213 <screen><userinput>cat > ~/.gtkrc-2.0 << "EOF" 214 include "/usr/share/themes/<replaceable>Glider</replaceable>/gtk-2.0/gtkrc"215 gtk-icon-theme-name = "<replaceable>hicolor</replaceable>" 214 <literal>include "/usr/share/themes/<replaceable>Glider</replaceable>/gtk-2.0/gtkrc" 215 gtk-icon-theme-name = "<replaceable>hicolor</replaceable>"</literal> 216 216 EOF</userinput></screen> 217 217 … … 229 229 230 230 <screen role="root"><userinput>cat > /etc/gtk-2.0/gtkrc << "EOF" 231 include "/usr/share/themes/<replaceable>Clearlooks</replaceable>/gtk-2.0/gtkrc"232 gtk-icon-theme-name = "<replaceable>elementary</replaceable>" 231 <literal>include "/usr/share/themes/<replaceable>Clearlooks</replaceable>/gtk-2.0/gtkrc" 232 gtk-icon-theme-name = "<replaceable>elementary</replaceable>"</literal> 233 233 EOF</userinput></screen> 234 234 -
xsoft/graphweb/seamonkey.xml
rdd16ca4d reb9d3f2 409 409 410 410 cat > /usr/share/applications/seamonkey.desktop << "EOF" 411 [Desktop Entry]411 <literal>[Desktop Entry] 412 412 Encoding=UTF-8 413 413 Type=Application … … 418 418 Categories=Network;GTK;Application;Email;Browser;WebBrowser;News; 419 419 StartupNotify=true 420 Terminal=false 420 Terminal=false</literal> 421 421 EOF 422 422
Note:
See TracChangeset
for help on using the changeset viewer.